summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-04 14:51:35 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-04 14:51:35 +0200
commitc596f1c1b2b6df18a9209d436a8255d96f437b54 (patch)
treec98aea6002cf929ca9a69e63de1954320115d6a2 /runtime/rsconf.c
parentb473bae2d7bd907b5e9a6ee9fc7cadf92dfe69b8 (diff)
downloadrsyslog-c596f1c1b2b6df18a9209d436a8255d96f437b54.tar.gz
rsyslog-c596f1c1b2b6df18a9209d436a8255d96f437b54.tar.xz
rsyslog-c596f1c1b2b6df18a9209d436a8255d96f437b54.zip
new ruleengine: PROP and PRI legacy filter structures properly created
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r--runtime/rsconf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c
index 0f31e515..5f1980fd 100644
--- a/runtime/rsconf.c
+++ b/runtime/rsconf.c
@@ -370,9 +370,6 @@ parser_errmsg(char *fmt, ...)
va_start(ap, fmt);
if(vsnprintf(errBuf, sizeof(errBuf), fmt, ap) == sizeof(errBuf))
errBuf[sizeof(errBuf)-1] = '\0';
-dbgprintf("XXXX: msg: %s\n", errBuf);
-dbgprintf("XXXX: cnfcurrfn: %s\n", cnfcurrfn);
-dbgprintf("XXXX: yylineno: %d\n", yylineno);
errmsg.LogError(0, RS_RET_CONF_PARSE_ERROR,
"error during parsing file %s, on or before line %d: %s",
cnfcurrfn, yylineno, errBuf);
@@ -415,6 +412,7 @@ void cnfDoObj(struct cnfobj *o)
cnfobjDestruct(o);
}
+#if 0
void cnfDoRule(struct cnfrule *cnfrule)
{
rule_t *pRule;
@@ -465,6 +463,7 @@ finalize_it:
//TODO: do something with error states
cnfruleDestruct(cnfrule);
}
+#endif
void cnfDoScript(struct cnfstmt *script)
{