From: Luigi Rizzo Date: Mon, 18 Dec 2006 15:36:31 +0000 (+0000) Subject: debugging shows that we always need more than 128 bytes X-Git-Tag: 1.6.0-beta1~3^2~3701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=684e4dc3731d1047ec82aa9d24ed65588bc29210;p=thirdparty%2Fasterisk.git 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 --- 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) {