diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-06 17:17:50 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-06 17:17:50 +0200 |
commit | 77ea54a5b98e80738914587bd0f252befeffe4f7 (patch) | |
tree | 94ed8534733f27360167c4645303fa9dd01b3307 /grammar/rainerscript.c | |
parent | 321c11dc163c73c0d9a6b5ffcdaa38fe7ffaf777 (diff) | |
download | rsyslog-77ea54a5b98e80738914587bd0f252befeffe4f7.tar.gz rsyslog-77ea54a5b98e80738914587bd0f252befeffe4f7.tar.bz2 rsyslog-77ea54a5b98e80738914587bd0f252befeffe4f7.zip |
new ruleengine: restore action iterator functionality
Diffstat (limited to 'grammar/rainerscript.c')
-rw-r--r-- | grammar/rainerscript.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c index dc2ef64c..0ebfb44e 100644 --- a/grammar/rainerscript.c +++ b/grammar/rainerscript.c @@ -1699,14 +1699,14 @@ done: return cnfstmt; } struct cnfstmt * -cnfstmtNewLegaAct(uchar *actline) +cnfstmtNewLegaAct(char *actline) { struct cnfstmt* cnfstmt; rsRetVal localRet; if((cnfstmt = cnfstmtNew(S_ACT)) == NULL) goto done; cnfstmt->printable = (uchar*)strdup((char*)actline); - localRet = cflineDoAction(loadConf, &actline, &cnfstmt->d.act); + localRet = cflineDoAction(loadConf, (uchar**)&actline, &cnfstmt->d.act); if(localRet != RS_RET_OK && localRet != RS_RET_OK_WARN) { parser_errmsg("%s occured in file '%s' around line %d", (localRet == RS_RET_OK_WARN) ? "warnings" : "errors", |