diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-16 15:43:22 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-16 15:43:22 +0200 |
commit | c4e18c5bab66537ee9c8fb482edce62c7c39c247 (patch) | |
tree | f73674b0713b95b91ccb2a87d87eaa0df2d8a206 /tools | |
parent | 6f0db63e9b962edf6305860b608500e8c650b71b (diff) | |
download | rsyslog-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.c | 2 |
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; |