From 684e4dc3731d1047ec82aa9d24ed65588bc29210 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Mon, 18 Dec 2006 15:36:31 +0000 Subject: [PATCH] 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. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48558 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/logger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/logger.c b/main/logger.c index 440c7dea22..cf9ce4d973 100644 --- a/main/logger.c +++ b/main/logger.c @@ -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) { -- 2.47.2