summaryrefslogtreecommitdiffstats
path: root/runtime/conf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-08-01 13:15:47 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-08-01 13:15:47 +0200
commita8122314f96cf8e2e0e08f9a58a3f3fde4aa60ae (patch)
treefd95e172294de2bc7d60005e7eaf411a67cece44 /runtime/conf.c
parent9757aeb56445eee3aca2b43e6b3efa1f1cb59ba3 (diff)
downloadrsyslog-a8122314f96cf8e2e0e08f9a58a3f3fde4aa60ae.tar.gz
rsyslog-a8122314f96cf8e2e0e08f9a58a3f3fde4aa60ae.tar.xz
rsyslog-a8122314f96cf8e2e0e08f9a58a3f3fde4aa60ae.zip
milestone: generic action parameters parsed via new config system
Diffstat (limited to 'runtime/conf.c')
-rw-r--r--runtime/conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/conf.c b/runtime/conf.c
index d98a147b..f47ac501 100644
--- a/runtime/conf.c
+++ b/runtime/conf.c
@@ -741,7 +741,8 @@ rsRetVal cflineDoAction(rsconf_t *conf, uchar **p, action_t **ppAction)
*/
if(currConfObj == eConfObjAction)
currConfObj = eConfObjActionWaitEnd;
- if((iRet = addAction(&pAction, pMod, pModData, pOMSR, NULL, (iRet == RS_RET_SUSPENDED)? 1 : 0)) == RS_RET_OK) {
+ if((iRet = addAction(&pAction, pMod, pModData, pOMSR, NULL, NULL,
+ (iRet == RS_RET_SUSPENDED)? 1 : 0)) == RS_RET_OK) {
/* now check if the module is compatible with select features */
if(pMod->isCompatibleWithFeature(sFEATURERepeatedMsgReduction) == RS_RET_OK)
pAction->f_ReduceRepeated = loadConf->globals.bReduceRepeatMsgs;