summaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-16 14:40:36 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-16 14:40:36 +0100
commitce1860a0bc77ec2ba7992547776a46df6b3d0e8a (patch)
treed7cec4fcc967b53ea566a76564a08736b49fa7af /action.h
parent9a53ec419e9d9e25a81b26a01ce5b035631e321a (diff)
downloadrsyslog-ce1860a0bc77ec2ba7992547776a46df6b3d0e8a.tar.gz
rsyslog-ce1860a0bc77ec2ba7992547776a46df6b3d0e8a.tar.xz
rsyslog-ce1860a0bc77ec2ba7992547776a46df6b3d0e8a.zip
bugfix: failover did not work correctly if repeated msg reduction was on
affected directive was: $ActionExecOnlyWhenPreviousIsSuspended on
Diffstat (limited to 'action.h')
-rw-r--r--action.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/action.h b/action.h
index 0c86ef88..3e5d5266 100644
--- a/action.h
+++ b/action.h
@@ -101,26 +101,9 @@ rsRetVal actionDestruct(action_t *pThis);
rsRetVal actionDbgPrint(action_t *pThis);
rsRetVal actionSetGlobalResumeInterval(int iNewVal);
rsRetVal actionDoAction(action_t *pAction);
-rsRetVal actionWriteToAction(action_t *pAction);
+//rsRetVal actionWriteToAction(action_t *pAction);
rsRetVal actionCallHUPHdlr(action_t *pAction);
rsRetVal actionClassInit(void);
rsRetVal addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStringRequest_t *pOMSR, int bSuspended);
-#if 1
-#define actionIsSuspended(pThis) ((pThis)->bSuspended == 1)
-#else
-/* The function is a debugging aid */
-inline int actionIsSuspended(action_t *pThis)
-{
- int i;
- ASSERT(pThis != NULL);
- i = pThis->bSuspended == 1;
- dbgprintf("in IsSuspend(), returns %d\n", i);
- return i;
-}
-#endif
-
#endif /* #ifndef ACTION_H_INCLUDED */
-/*
- * vi:set ai:
- */