[asterisk-commits] rizzo: trunk r48558 - /trunk/main/logger.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Dec 18 08:36:32 MST 2006


Author: rizzo
Date: Mon Dec 18 09:36:31 2006
New Revision: 48558

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48558
Log:
debugging shows that we always need more than 128 bytes
for the verbose and logging messages so start with a
larger buffer from the beginning.


Modified:
    trunk/main/logger.c

Modified: trunk/main/logger.c
URL: http://svn.digium.com/view/asterisk/trunk/main/logger.c?view=diff&rev=48558&r1=48557&r2=48558
==============================================================================
--- trunk/main/logger.c (original)
+++ trunk/main/logger.c Mon Dec 18 09:36:31 2006
@@ -138,10 +138,10 @@
 };
 
 AST_THREADSTORAGE(verbose_buf);
-#define VERBOSE_BUF_INIT_SIZE   128
+#define VERBOSE_BUF_INIT_SIZE   256
 
 AST_THREADSTORAGE(log_buf);
-#define LOG_BUF_INIT_SIZE       128
+#define LOG_BUF_INIT_SIZE       256
 
 static int make_components(char *s, int lineno)
 {



More information about the asterisk-commits mailing list