diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-16 14:40:36 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-16 14:40:36 +0100 |
commit | ce1860a0bc77ec2ba7992547776a46df6b3d0e8a (patch) | |
tree | d7cec4fcc967b53ea566a76564a08736b49fa7af /action.h | |
parent | 9a53ec419e9d9e25a81b26a01ce5b035631e321a (diff) | |
download | rsyslog-ce1860a0bc77ec2ba7992547776a46df6b3d0e8a.tar.gz rsyslog-ce1860a0bc77ec2ba7992547776a46df6b3d0e8a.tar.bz2 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.h | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -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: - */ |