diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-12-18 15:36:31 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-12-18 15:36:31 +0000 |
commit | 684e4dc3731d1047ec82aa9d24ed65588bc29210 (patch) | |
tree | 9ac653cb33462d99b2c8557ac5994494ea0e51fd /main/logger.c | |
parent | 920de98f68b505bb5b399b97f90ad3d9d3142c38 (diff) |
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
Diffstat (limited to 'main/logger.c')
-rw-r--r-- | main/logger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/logger.c b/main/logger.c index 440c7dea2..cf9ce4d97 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) { |