diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-08-25 17:17:27 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-08-25 17:17:27 +0200 |
commit | 76e9968c0890cb4db068c953db6e6574b6c28da0 (patch) | |
tree | 75f9e4be5663a3e2dd877619d4559b05b3859bf3 /runtime | |
parent | 6258cb42fd407b9388de63c746634b4df03e78eb (diff) | |
download | rsyslog-76e9968c0890cb4db068c953db6e6574b6c28da0.tar.gz rsyslog-76e9968c0890cb4db068c953db6e6574b6c28da0.tar.xz rsyslog-76e9968c0890cb4db068c953db6e6574b6c28da0.zip |
milestone: LIST-type templates work, but no all options yet present
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/rsconf.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c index 9c6bf00e..5d2407ec 100644 --- a/runtime/rsconf.c +++ b/runtime/rsconf.c @@ -387,7 +387,8 @@ yyerror(char *s) } void cnfDoObj(struct cnfobj *o) { -int bChkUnuse = 1; // TODO: Delete + int bChkUnuse = 1; + dbgprintf("cnf:global:obj: "); cnfobjPrint(o); switch(o->objType) { @@ -405,12 +406,12 @@ int bChkUnuse = 1; // TODO: Delete break; case CNFOBJ_PROPERTY: case CNFOBJ_CONSTANT: - //processTemplate(o); -bChkUnuse = 0; + /* these types are processed at a later stage */ + bChkUnuse = 0; break; } -if(bChkUnuse) - nvlstChkUnused(o->nvlst); + if(bChkUnuse) + nvlstChkUnused(o->nvlst); cnfobjDestruct(o); } |