summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-12 13:58:49 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-12 13:58:49 +0000
commit2d9239beca678e35b8dc6e09e4add721052bfcb8 (patch)
tree96689305884dae4ff75bea6324b353c4f5756ee9 /action.c
parentbc846dc0bddbf0f95c1354927adcb5daaf41ef4c (diff)
downloadrsyslog-2d9239beca678e35b8dc6e09e4add721052bfcb8.tar.gz
rsyslog-2d9239beca678e35b8dc6e09e4add721052bfcb8.tar.xz
rsyslog-2d9239beca678e35b8dc6e09e4add721052bfcb8.zip
bugfix: discard action and backup actions did not work due to problem in
direct queue mode. Now fixed. Tracker was http://sourceforge.net/tracker/index.php?func=detail&aid=1886931&group_ id=123448&atid=696552
Diffstat (limited to 'action.c')
-rw-r--r--action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.c b/action.c
index 81cd45b2..5fab8ec6 100644
--- a/action.c
+++ b/action.c
@@ -520,6 +520,7 @@ actionWriteToAction(action_t *pAction)
* So let's enqueue our message for execution. -- rgerhards, 2007-07-24
*/
iRet = queueEnqObj(pAction->pQueue, (void*) MsgAddRef(pAction->f_pMsg));
+RUNLOG_VAR("%d", iRet);
if(iRet == RS_RET_OK)
pAction->f_prevcount = 0; /* message processed, so we start a new cycle */