Skip to content
Snippets Groups Projects
Commit 9a55cf9b authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Typo: should have been changed to a constant

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent cff3864f
No related branches found
No related tags found
No related merge requests found
...@@ -836,7 +836,7 @@ void ast_backtrace(void) ...@@ -836,7 +836,7 @@ void ast_backtrace(void)
void **addresses; void **addresses;
char **strings; char **strings;
addresses = calloc(levels, sizeof(void *)); addresses = calloc(20, sizeof(void *));
if (addresses) { if (addresses) {
count = backtrace(addresses, 20); count = backtrace(addresses, 20);
strings = backtrace_symbols(addresses, count); strings = backtrace_symbols(addresses, count);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment