summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-16 15:43:22 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-16 15:43:22 +0200
commitc4e18c5bab66537ee9c8fb482edce62c7c39c247 (patch)
treef73674b0713b95b91ccb2a87d87eaa0df2d8a206 /tools
parent6f0db63e9b962edf6305860b608500e8c650b71b (diff)
downloadrsyslog-c4e18c5bab66537ee9c8fb482edce62c7c39c247.tar.gz
rsyslog-c4e18c5bab66537ee9c8fb482edce62c7c39c247.tar.xz
rsyslog-c4e18c5bab66537ee9c8fb482edce62c7c39c247.zip
implemented first version of multi-enqueue support, queue side
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 4d2839a1..e3cd54f7 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -1379,9 +1379,9 @@ multiSubmitMsg(multi_submit_t *pMultiSub)
for(i = 0 ; i < pMultiSub->nElem ; ++i) {
dbgprintf("multiSubmitMsg, index %d\n", i);
MsgPrepareEnqueue(pMultiSub->ppMsgs[i]);
- qqueueEnqObj(pMsgQueue, pMultiSub->ppMsgs[i]->flowCtlType, (void*) pMultiSub->ppMsgs[i]);
}
+ iRet = qqueueMultiEnqObj(pMsgQueue, pMultiSub);
pMultiSub->nElem = 0;
RETiRet;