diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-07 08:38:14 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-07 08:38:14 +0000 |
commit | c8b946aa94251a93fc934d8e3e875f5f26fcfcfd (patch) | |
tree | fc12576f960b4b7786e28852282dd1a6a110b05c /msg.c | |
parent | 7b7ac189f8f914def4b29322e72372c689c7fcb2 (diff) | |
download | rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.tar.gz rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.tar.xz rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.zip |
performance-tuned stringbuf class
Diffstat (limited to 'msg.c')
-rw-r--r-- | msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -387,7 +387,7 @@ static rsRetVal MsgSerialize(msg_t *pThis, rsCStrObj **ppCStr) assert(ppCStr != NULL); - CHKiRet(objBeginSerialize(&pCStr, (obj_t*) pThis)); + CHKiRet(objBeginSerialize(&pCStr, (obj_t*) pThis, 1024)); objSerializeSCALAR(iProtocolVersion, SHORT); objSerializeSCALAR(iSeverity, SHORT); objSerializeSCALAR(iFacility, SHORT); |