summaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
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);