summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-24 19:37:16 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-24 19:37:16 +0200
commit39b9aac66390eab4a7a9c0898744363a61cd4457 (patch)
tree74238e62fe05a688c66712f79303883cf6e8e6ec /runtime/rsconf.c
parent8d99cfe38509aeadf169ba63c0d6c841eb2ecbe3 (diff)
downloadrsyslog-39b9aac66390eab4a7a9c0898744363a61cd4457.tar.gz
rsyslog-39b9aac66390eab4a7a9c0898744363a61cd4457.tar.xz
rsyslog-39b9aac66390eab4a7a9c0898744363a61cd4457.zip
cleanup & better debug output
- removed no longer needed function - debug log now contains action type for action objects
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r--runtime/rsconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c
index 96118538..7caa0cc5 100644
--- a/runtime/rsconf.c
+++ b/runtime/rsconf.c
@@ -360,9 +360,6 @@ void cnfDoObj(struct cnfobj *o)
case CNFOBJ_MODULE:
modulesProcessCnf(o);
break;
- case CNFOBJ_ACTION:
- actionProcessCnf(o);
- break;
case CNFOBJ_TPL:
tplProcessCnf(o);
break;
@@ -371,6 +368,10 @@ void cnfDoObj(struct cnfobj *o)
/* these types are processed at a later stage */
bChkUnuse = 0;
break;
+ default:
+ dbgprintf("cnfDoObj program error: unexpected object type %u\n",
+ o->objType);
+ break;
}
if(bChkUnuse)
nvlstChkUnused(o->nvlst);
@@ -380,7 +381,6 @@ void cnfDoObj(struct cnfobj *o)
void cnfDoScript(struct cnfstmt *script)
{
// TODO: streamline this, call directly into ruleset from grammar.y
- // TODO: BSD-Style blocks?
dbgprintf("cnf:global:script\n");
ruleset.AddScript(ruleset.GetCurrent(loadConf), script);
}