diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-26 17:56:04 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-26 17:56:04 +0200 |
commit | 1f59e66eef458534d43b6da12bb81a84a39c3fe6 (patch) | |
tree | be52182354fb96b941a5dc0e51334931fd792b34 /tools | |
parent | dc4db17f51cc6d88af10a6155292ea53180a8e66 (diff) | |
download | rsyslog-1f59e66eef458534d43b6da12bb81a84a39c3fe6.tar.gz rsyslog-1f59e66eef458534d43b6da12bb81a84a39c3fe6.tar.bz2 rsyslog-1f59e66eef458534d43b6da12bb81a84a39c3fe6.zip |
milestone: calling sequence changed so that wti is passed to many functions
Diffstat (limited to 'tools')
-rw-r--r-- | tools/syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index aaeb9866..7597b05d 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -560,13 +560,13 @@ finalize_it: * for the main queue. */ static rsRetVal -msgConsumer(void __attribute__((unused)) *notNeeded, batch_t *pBatch, int *pbShutdownImmediate) +msgConsumer(void __attribute__((unused)) *notNeeded, batch_t *pBatch, wti_t *pWti, int *pbShutdownImmediate) { DEFiRet; assert(pBatch != NULL); pBatch->pbShutdownImmediate = pbShutdownImmediate; /* TODO: move this to batch creation! */ preprocessBatch(pBatch); - ruleset.ProcessBatch(pBatch); + ruleset.ProcessBatch(pBatch, pWti); //TODO: the BATCH_STATE_COMM must be set somewhere down the road, but we //do not have this yet and so we emulate -- 2010-06-10 int i; |