diff options
author | Pavel Levshin <pavel@levshin.spb.ru> | 2013-10-31 23:47:32 +0400 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-08 15:55:05 +0100 |
commit | 9c3a83f481d549eb85666c8bd2dea44e731990ef (patch) | |
tree | 79711d898b4dead49b36a0e97b20c0d6dbc97d81 /template.c | |
parent | 08aee5f17fa7c146ebff38837f3f0eb101715d6b (diff) | |
download | rsyslog-9c3a83f481d549eb85666c8bd2dea44e731990ef.tar.gz rsyslog-9c3a83f481d549eb85666c8bd2dea44e731990ef.tar.bz2 rsyslog-9c3a83f481d549eb85666c8bd2dea44e731990ef.zip |
bugfix: regression in template processing
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1794,7 +1794,7 @@ tplProcessCnf(struct cnfobj *o) } } - if(bHaveSubtree) { + if(!bHaveSubtree) { if(tplType == T_SUBTREE) { errmsg.LogError(0, RS_RET_ERR, "template '%s' of type subtree needs " "subtree parameter", name); |