summaryrefslogtreecommitdiffstats
path: root/runtime/ruleset.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-23 14:50:03 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-23 14:50:03 +0200
commitb50d13a6a97c0b6fa14807775ae0edf52ef015fb (patch)
tree86817355dc2631e21b7b4e2977ecbbf9007537cd /runtime/ruleset.c
parent6181156b1c42825bac892d3e1284dcb2d4fcf5d3 (diff)
downloadrsyslog-b50d13a6a97c0b6fa14807775ae0edf52ef015fb.tar.gz
rsyslog-b50d13a6a97c0b6fa14807775ae0edf52ef015fb.tar.xz
rsyslog-b50d13a6a97c0b6fa14807775ae0edf52ef015fb.zip
restored repeated message reduction processing
Diffstat (limited to 'runtime/ruleset.c')
-rw-r--r--runtime/ruleset.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/runtime/ruleset.c b/runtime/ruleset.c
index 93d40e24..d98b4217 100644
--- a/runtime/ruleset.c
+++ b/runtime/ruleset.c
@@ -84,7 +84,6 @@ DEFFUNC_llExecFunc(doIterateRulesetActions)
iRet = rule.IterateAllActions(pRule, pMyParam->pFunc, pMyParam->pParam);
RETiRet;
}
-#if 0
/* iterate over all actions of THIS rule set.
*/
static rsRetVal
@@ -96,7 +95,7 @@ iterateRulesetAllActions(ruleset_t *pThis, rsRetVal (*pFunc)(void*, void*), void
params.pFunc = pFunc;
params.pParam = pParam;
- CHKiRet(llExecFunc(&llRulesets, doIterateRulesetActions, &params));
+ CHKiRet(llExecFunc(&(pThis->llRules), doIterateRulesetActions, &params));
finalize_it:
RETiRet;
@@ -112,7 +111,6 @@ DEFFUNC_llExecFunc(doIterateAllActions)
iRet = iterateRulesetAllActions(pThis, pMyParam->pFunc, pMyParam->pParam);
RETiRet;
}
-#endif
/* iterate over ALL actions present in the WHOLE system.
* this is often needed, for example when HUP processing
* must be done or a shutdown is pending.
@@ -126,8 +124,7 @@ iterateAllActions(rsRetVal (*pFunc)(void*, void*), void* pParam)
params.pFunc = pFunc;
params.pParam = pParam;
- //CHKiRet(llExecFunc(&llRulesets, doIterateAllActions, &params));
- CHKiRet(llExecFunc(&llRulesets, doIterateRulesetActions, &params));
+ CHKiRet(llExecFunc(&llRulesets, doIterateAllActions, &params));
finalize_it:
RETiRet;