[asterisk-commits] trunk r10784 - /trunk/logger.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Feb 22 14:20:29 MST 2006


Author: tilghman
Date: Wed Feb 22 15:20:28 2006
New Revision: 10784

URL: http://svn.digium.com/view/asterisk?rev=10784&view=rev
Log:
Typo:  should have been changed to a constant

Modified:
    trunk/logger.c

Modified: trunk/logger.c
URL: http://svn.digium.com/view/asterisk/trunk/logger.c?rev=10784&r1=10783&r2=10784&view=diff
==============================================================================
--- trunk/logger.c (original)
+++ trunk/logger.c Wed Feb 22 15:20:28 2006
@@ -836,7 +836,7 @@
 	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);



More information about the asterisk-commits mailing list