diff options
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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"); |