diff options
author | Michael Biebl <biebl@debian.org> | 2011-03-09 22:20:53 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2011-03-09 22:20:53 +0100 |
commit | a362b3333f84518889cefc1706d4e6adaa92888c (patch) | |
tree | c680c3dec25c9b987bcb3ddb2caa34f68fe00944 /action.c | |
parent | 4f45cc34384973b3643148c21a5ede489ab05f86 (diff) | |
download | rsyslog-a362b3333f84518889cefc1706d4e6adaa92888c.tar.gz |
Imported Upstream version 5.7.8upstream/5.7.8
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)); } } |