From: Tilghman Lesher Date: Wed, 22 Feb 2006 21:20:28 +0000 (+0000) Subject: Typo: should have been changed to a constant X-Git-Tag: 1.4.0-beta1~2557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a55cf9bc188fba91391326723e28ef7873b6b12;p=thirdparty%2Fasterisk.git Typo: should have been changed to a constant git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10784 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/logger.c b/logger.c index d0fe1287c7..dd5301dffb 100644 --- a/logger.c +++ b/logger.c @@ -836,7 +836,7 @@ void ast_backtrace(void) void **addresses; char **strings; - addresses = calloc(levels, sizeof(void *)); + addresses = calloc(20, sizeof(void *)); if (addresses) { count = backtrace(addresses, 20); strings = backtrace_symbols(addresses, count);