From 99d9c6d52ced294dee2822d36ede069c2bd37044 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 3 May 2012 18:21:46 +0200 Subject: bugfix/omfile: template action parameter was not accepted (and template name set to "??" if the parameter was used) Thanks to Brian Knox for alerting us on this bug. --- ChangeLog | 3 +++ tools/omfile.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4f78259f..adf7bc37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,9 @@ Version 6.3.9 [DEVEL] 2012-04-?? stored inside the disk queue. - bugfix/imuxsock: solving abort if hostname was not set; configured hostname was not used (both merge regressions) + -bugfix/omfile: template action parameter was not accepted + (and template name set to "??" if the parameter was used) + Thanks to Brian Knox for alerting us on this bug. --------------------------------------------------------------------------- Version 6.3.8 [DEVEL] 2012-04-16 - added $PStatJSON directive to permit stats records in JSON format diff --git a/tools/omfile.c b/tools/omfile.c index c7f1b896..68222883 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -838,7 +838,7 @@ CODESTARTnewActInst } CHKiRet(OMSRsetEntry(*ppOMSR, 0, ustrdup((pData->tplName == NULL) ? - (uchar*)"RSYSLOG_FileFormat" : (uchar*)"??"), + (uchar*)"RSYSLOG_FileFormat" : pData->tplName), OMSR_NO_RQD_TPL_OPTS)); if(pData->bDynamicName) { -- cgit v1.2.3