summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-14 13:23:51 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-14 13:23:51 +0000
commit2ee7fe2ea16032beab0daf56664edd34227e926e (patch)
treeabed81b478265ca4eb965cb13cfe219a90d3f3fa /syslogd.c
parent085fc407ce5accc8776220ab262c864ac595ee02 (diff)
downloadrsyslog-2ee7fe2ea16032beab0daf56664edd34227e926e.tar.gz
rsyslog-2ee7fe2ea16032beab0daf56664edd34227e926e.tar.xz
rsyslog-2ee7fe2ea16032beab0daf56664edd34227e926e.zip
fixed a bug with standard template definitions - thanks to varmojfekoj for
spotting it
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index aec1a486..eaf9d113 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -4657,7 +4657,7 @@ static void mainThread()
pTmp = template_StdUsrMsgFmt;
tplAddLine(" StdUsrMsgFmt", &pTmp);
pTmp = template_StdDBFmt;
- tplLastStaticInit(tplAddLine(" StdDBFmt", &pTmp));
+ tplAddLine(tplAddLine(" StdDBFmt", &pTmp));
pTmp = template_StdPgSQLFmt;
tplLastStaticInit(tplAddLine(" StdPgSQLFmt", &pTmp));