summaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-07 08:38:14 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-07 08:38:14 +0000
commitc8b946aa94251a93fc934d8e3e875f5f26fcfcfd (patch)
treefc12576f960b4b7786e28852282dd1a6a110b05c /msg.c
parent7b7ac189f8f914def4b29322e72372c689c7fcb2 (diff)
downloadrsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.tar.gz
rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.tar.xz
rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.zip
performance-tuned stringbuf class
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/msg.c b/msg.c
index a224b308..4ed53907 100644
--- a/msg.c
+++ b/msg.c
@@ -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);