summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-08 15:59:38 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-08 15:59:38 +0100
commita2730f88e137dd57504959d70a8b7842abce6d4d (patch)
tree5ccac29a8d932541e37f959bd1425e91b3494c54 /template.c
parent58477b825fb84e5181bbaa92fac542965d3aa0e7 (diff)
parentcab2279d5cd003138b32c5e1682ef6606e20ca5d (diff)
downloadrsyslog-a2730f88e137dd57504959d70a8b7842abce6d4d.tar.gz
rsyslog-a2730f88e137dd57504959d70a8b7842abce6d4d.tar.bz2
rsyslog-a2730f88e137dd57504959d70a8b7842abce6d4d.zip
Merge branch 'master' into master-ruleeng
Diffstat (limited to 'template.c')
-rw-r--r--template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.c b/template.c
index ebb3f422..e8b5e9f2 100644
--- a/template.c
+++ b/template.c
@@ -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);