summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-30 09:16:27 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-30 09:16:27 +0000
commit09a99b4d971607269525e56f1680d0ae6a0ea137 (patch)
tree5b1f96ec8829849a11b43726f5e49821bd2770e3 /action.c
parentf547af1f86b489faaf16b4a040df5ebd3c974af5 (diff)
downloadrsyslog-09a99b4d971607269525e56f1680d0ae6a0ea137.tar.gz
rsyslog-09a99b4d971607269525e56f1680d0ae6a0ea137.tar.xz
rsyslog-09a99b4d971607269525e56f1680d0ae6a0ea137.zip
fixed a bug that caused $MainMsgQueueCheckpointInterval to work incorrectly
Diffstat (limited to 'action.c')
-rw-r--r--action.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/action.c b/action.c
index 9dfe16bb..b6b37381 100644
--- a/action.c
+++ b/action.c
@@ -345,7 +345,6 @@ actionCallDoAction(action_t *pAction, msg_t *pMsg)
iRetries = 0;
do {
-RUNLOG_VAR("%d", iRet);
/* on first invocation, this if should never be true. We just put it at the top
* of the loop so that processing (and code) is simplified. This code is actually
* triggered on the 2nd+ invocation. -- rgerhards, 2008-01-30
@@ -356,20 +355,16 @@ RUNLOG_VAR("%d", iRet);
iSleepPeriod = pAction->iResumeInterval;
srSleep(iSleepPeriod, 0);
}
-RUNLOG_VAR("%d", iRetries);
/* first check if we are suspended and, if so, retry */
if(actionIsSuspended(pAction)) {
-dbgprintf("action %p is suspended\n", pAction);
iRet = actionTryResume(pAction);
}
if(iRet == RS_RET_OK) {
-RUNLOG_STR("calling configured action\n");
/* call configured action */
iRet = pAction->pMod->mod.om.doAction(pAction->ppMsgs, pMsg->msgFlags, pAction->pModData);
}
-RUNLOG_VAR("%d", pAction->iResumeRetryCount);
} while(iRet == RS_RET_SUSPENDED && (pAction->iResumeRetryCount == -1 || iRetries < pAction->iResumeRetryCount)); /* do...while! */
RUNLOG_STR("out of retry loop");