summaryrefslogtreecommitdiffstats
path: root/grammar
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-01 18:26:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-01 18:26:48 +0200
commit81c8658769962dcc988734b23e354dfb1e54fcb0 (patch)
tree9e283433585c84fcc7c5c4e854b7e934acbfc2e3 /grammar
parentb5be2270e0cba2e19851dcef9e5b539e2ef23197 (diff)
downloadrsyslog-81c8658769962dcc988734b23e354dfb1e54fcb0.tar.gz
rsyslog-81c8658769962dcc988734b23e354dfb1e54fcb0.tar.xz
rsyslog-81c8658769962dcc988734b23e354dfb1e54fcb0.zip
bugfix: ruleset(){} directive errornously changed default ruleset
much like the $ruleset legacy conf statement. This potentially lead to statements being assigned to the wrong ruleset.
Diffstat (limited to 'grammar')
-rw-r--r--grammar/rainerscript.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c
index 2e5381f4..a72b4155 100644
--- a/grammar/rainerscript.c
+++ b/grammar/rainerscript.c
@@ -2129,6 +2129,7 @@ struct cnfstmt *
cnfstmtNewCall(es_str_t *name)
{
struct cnfstmt* cnfstmt;
+dbgprintf("DDDD: got CALL\n");
if((cnfstmt = cnfstmtNew(S_CALL)) != NULL) {
cnfstmt->d.s_call.name = name;
}