From 2ee7fe2ea16032beab0daf56664edd34227e926e Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 14 Jan 2008 13:23:51 +0000 Subject: fixed a bug with standard template definitions - thanks to varmojfekoj for spotting it --- syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3