summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
authorMichael Meckelein <mmeckelein@hq.adiscon.com>2007-08-31 12:47:35 +0000
committerMichael Meckelein <mmeckelein@hq.adiscon.com>2007-08-31 12:47:35 +0000
commit262111689f19e362100236a37bcd3c7eed6fd769 (patch)
tree01f0b34b500c858c0c45531a622bbd6368bf565e /omfwd.c
parenta24b9f9127f48c7ff7511288ac93f613198892a6 (diff)
downloadrsyslog-262111689f19e362100236a37bcd3c7eed6fd769.tar.gz
rsyslog-262111689f19e362100236a37bcd3c7eed6fd769.tar.xz
rsyslog-262111689f19e362100236a37bcd3c7eed6fd769.zip
patches and docu update for 1.19.3v1-19-3
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omfwd.c b/omfwd.c
index 096d5d78..3bfd9cc7 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -714,7 +714,7 @@ CODESTARTparseSelectorAct
CODE_STD_STRING_REQUESTparseSelectorAct(1)
if(*p == '@') {
if((iRet = createInstance(&pData)) != RS_RET_OK)
- return iRet;
+ goto finalize_it;
++p; /* eat '@' */
if(*p == '@') { /* indicator for TCP! */
pData->protocol = FORW_TCP;
@@ -837,7 +837,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1)
/* process template */
if((iRet = cflineParseTemplateName(&p, *ppOMSR, 0, OMSR_NO_RQD_TPL_OPTS, (uchar*) " StdFwdFmt"))
!= RS_RET_OK)
- return iRet;
+ goto finalize_it;
/* first set the pData->eDestState */
memset(&hints, 0, sizeof(hints));