summaryrefslogtreecommitdiffstats
path: root/tools/ompipe.c
diff options
context:
space:
mode:
authorAndre Lorbach <alorbach@adiscon.com>2013-08-06 11:51:43 +0200
committerAndre Lorbach <alorbach@adiscon.com>2013-08-06 11:51:43 +0200
commit7ffa4f675dd90c5ccb19d0cf4e11d543be9a2a6b (patch)
treeed95195d9c69b1fa21323e224d2a4ab4d5f2a0e4 /tools/ompipe.c
parent32ea9f6e0f8e5b301e173d7d06c81c2b80925c1d (diff)
parentfa54ce21a732916db5d62913dc77f7bb2cb6ad94 (diff)
downloadrsyslog-7ffa4f675dd90c5ccb19d0cf4e11d543be9a2a6b.tar.gz
rsyslog-7ffa4f675dd90c5ccb19d0cf4e11d543be9a2a6b.tar.bz2
rsyslog-7ffa4f675dd90c5ccb19d0cf4e11d543be9a2a6b.zip
Merge branch 'v7-stable'
Conflicts: plugins/omprog/omprog.c
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