summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-05-03 18:21:46 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-05-03 18:21:46 +0200
commit99d9c6d52ced294dee2822d36ede069c2bd37044 (patch)
tree788d1a4e95bfe823cd4db020157c811bac7f1b6a /tools
parent1d7ba92156f5a5ac1783df563ec3344fdf8365df (diff)
downloadrsyslog-99d9c6d52ced294dee2822d36ede069c2bd37044.tar.gz
rsyslog-99d9c6d52ced294dee2822d36ede069c2bd37044.tar.xz
rsyslog-99d9c6d52ced294dee2822d36ede069c2bd37044.zip
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.
Diffstat (limited to 'tools')
-rw-r--r--tools/omfile.c2
1 files changed, 1 insertions, 1 deletions
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) {