debugging shows that we always need more than 128 bytes
authorLuigi Rizzo <rizzo@icir.org>
Mon, 18 Dec 2006 15:36:31 +0000 (15:36 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 18 Dec 2006 15:36:31 +0000 (15:36 +0000)
for the verbose and logging messages so start with a
larger buffer from the beginning.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48558 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/logger.c

index 440c7de..cf9ce4d 100644 (file)
@@ -138,10 +138,10 @@ static int colors[] = {
 };
 
 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)
 {