summaryrefslogtreecommitdiffstats
path: root/msg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-04 16:23:37 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-04 16:23:37 +0000
commiteb9f97ee2d34f00ca823ebead26e133e4b9a8495 (patch)
treeed1ed4bf41246d80c4347336eaa2b250ae5c6eed /msg.c
parentfaf8e5a3849621acfbd0a0887f2e924a40cb029a (diff)
downloadrsyslog-eb9f97ee2d34f00ca823ebead26e133e4b9a8495.tar.gz
rsyslog-eb9f97ee2d34f00ca823ebead26e133e4b9a8495.tar.xz
rsyslog-eb9f97ee2d34f00ca823ebead26e133e4b9a8495.zip
removed serialization pointer from queue; used new base class instead
Diffstat (limited to 'msg.c')
-rw-r--r--msg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/msg.c b/msg.c
index bb913e96..ddf6004e 100644
--- a/msg.c
+++ b/msg.c
@@ -290,6 +290,7 @@ rsRetVal MsgSerialize(uchar **ppOutBuf, size_t *pLenBuf, void *pUsr)
msg_t* pThis = pUsr;
rsCStrObj *pCStr;
+dbgprintf("MsgSerialize in\n");
assert(ppOutBuf != NULL);
assert(pLenBuf != NULL);
assert(pThis != NULL);
@@ -1933,6 +1934,8 @@ char *MsgGetProp(msg_t *pMsg, struct templateEntry *pTpe,
*/
BEGINObjClassInit(Msg)
OBJSetMethodHandler(objMethod_SERIALIZE, MsgSerialize);
+printf("MSgSerialize pointer: %lx\n", (unsigned long) MsgSerialize);
+printf("Msg objInfo: %lx\n", pObjInfoOBJ );
ENDObjClassInit
/*