summaryrefslogtreecommitdiff
path: root/action.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-03-29 18:38:20 +0200
committerMichael Biebl <biebl@debian.org>2011-03-29 18:38:20 +0200
commitbf9714f547781f6d18f260db7bafec62391dfd6b (patch)
tree8674c17aaacd8a235b6ca6e0cfb83f4c466db8b3 /action.c
parentdea543841bb1f1c46586a68da21d55b44c6bf158 (diff)
downloadrsyslog-bf9714f547781f6d18f260db7bafec62391dfd6b.tar.gz
Imported Upstream version 5.7.10upstream/5.7.10
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 ea4358f..c5bd03c 100644
--- a/action.c
+++ b/action.c
@@ -1071,7 +1071,8 @@ prepareBatch(action_t *pAction, batch_t *pBatch)
pElem = &(pBatch->pElem[i]);
if(pElem->bFilterOK && pElem->state != BATCH_STATE_DISC) {
pElem->state = BATCH_STATE_RDY;
- prepareDoActionParams(pAction, pElem);
+ if(prepareDoActionParams(pAction, pElem) != RS_RET_OK)
+ pElem->bFilterOK = FALSE;
}
}
RETiRet;