summaryrefslogtreecommitdiffstats
path: root/tools/ompipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ompipe.c')
-rw-r--r--tools/ompipe.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/ompipe.c b/tools/ompipe.c
index 420e2b11..df8066b1 100644
--- a/tools/ompipe.c
+++ b/tools/ompipe.c
@@ -329,6 +329,10 @@ CODESTARTnewActInst
}
}
+ CHKiRet(OMSRsetEntry(*ppOMSR, 0, (uchar*)strdup((pData->tplName == NULL) ?
+ "RSYSLOG_ForwardFormat" : (char*)pData->tplName),
+ OMSR_NO_RQD_TPL_OPTS));
+ /* Old flawed template code
if(pData->tplName == NULL) {
CHKiRet(OMSRsetEntry(*ppOMSR, 0, (uchar*) "RSYSLOG_FileFormat",
OMSR_NO_RQD_TPL_OPTS));
@@ -336,7 +340,7 @@ CODESTARTnewActInst
CHKiRet(OMSRsetEntry(*ppOMSR, 0,
(uchar*) strdup((char*) pData->tplName),
OMSR_NO_RQD_TPL_OPTS));
- }
+ }*/
CODE_STD_FINALIZERnewActInst
cnfparamvalsDestruct(pvals, &actpblk);
ENDnewActInst