diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-08 16:29:15 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-08 16:29:15 +0200 |
commit | 50d9939148055123015eeb7aca7e83de5ab0084b (patch) | |
tree | d1ca1956b947f31deda948c8affd8fadd692c54c /runtime/debug.c | |
parent | 0d7521d59167e47dd5c085d34edf3cd06e45cfc1 (diff) | |
download | rsyslog-50d9939148055123015eeb7aca7e83de5ab0084b.tar.gz rsyslog-50d9939148055123015eeb7aca7e83de5ab0084b.tar.xz rsyslog-50d9939148055123015eeb7aca7e83de5ab0084b.zip |
bugfix: debug string larger than 1K were improperly displayed.
Max size is now 32K.
Diffstat (limited to 'runtime/debug.c')
-rw-r--r-- | runtime/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/debug.c b/runtime/debug.c index 807fd3f7..1b592ef3 100644 --- a/runtime/debug.c +++ b/runtime/debug.c @@ -841,7 +841,7 @@ dbgprint(obj_t *pObj, char *pszMsg, size_t lenMsg) static pthread_t ptLastThrdID = 0; static int bWasNL = 0; char pszThrdName[64]; /* 64 is to be on the safe side, anything over 20 is bad... */ - char pszWriteBuf[1024]; + char pszWriteBuf[32*1024]; size_t lenWriteBuf; struct timespec t; uchar *pszObjName = NULL; |