summaryrefslogtreecommitdiff
path: root/action.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-03-09 22:20:53 +0100
committerMichael Biebl <biebl@debian.org>2011-03-09 22:20:53 +0100
commita362b3333f84518889cefc1706d4e6adaa92888c (patch)
treec680c3dec25c9b987bcb3ddb2caa34f68fe00944 /action.c
parent4f45cc34384973b3643148c21a5ede489ab05f86 (diff)
downloadrsyslog-a362b3333f84518889cefc1706d4e6adaa92888c.tar.gz
Imported Upstream version 5.7.8upstream/5.7.8
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 3683057..c9e5e09 100644
--- a/action.c
+++ b/action.c
@@ -1481,7 +1481,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));
}
}