summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-08 18:29:33 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-08 18:29:33 +0100
commit3866bd51bf7e622594ff4831664c28d80f711cb3 (patch)
treea83067d3104f778006372590147d2db27fae1dc8 /action.c
parent97f6fa81fd565232ad66082eece4cef207b3060b (diff)
downloadrsyslog-3866bd51bf7e622594ff4831664c28d80f711cb3.tar.gz
rsyslog-3866bd51bf7e622594ff4831664c28d80f711cb3.tar.xz
rsyslog-3866bd51bf7e622594ff4831664c28d80f711cb3.zip
bugfix(kind of): tell users that config graph can currently not be generated
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=232
Diffstat (limited to 'action.c')
-rw-r--r--action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/action.c b/action.c
index 4bf8ba04..d41449d0 100644
--- a/action.c
+++ b/action.c
@@ -1480,7 +1480,8 @@ helperSubmitToActionQComplexBatch(action_t *pAction, batch_t *pBatch)
DBGPRINTF("Called action(complex case), logging to %s\n", module.GetStateName(pAction->pMod));
for(i = 0 ; i < batchNumMsgs(pBatch) && !*(pBatch->pbShutdownImmediate) ; ++i) {
- if(pBatch->pElem[i].bFilterOK) {
+ if( pBatch->pElem[i].bFilterOK
+ && pBatch->pElem[i].state != BATCH_STATE_DISC) {
doActionCallAction(pAction, (msg_t*)(pBatch->pElem[i].pUsrp));
}
}