summaryrefslogtreecommitdiff
path: root/plugins/imptcp
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2013-07-06 00:13:29 +0200
committerMichael Biebl <biebl@debian.org>2013-07-06 00:13:29 +0200
commitf5638ea86a8626b7e0e471d720359cb4e3d8cb1c (patch)
treefd1fffc1917bd10431c829e0a439c2a522ffda6d /plugins/imptcp
parentc62e2e3b0f562a4ce54f7edcbb76400d90118717 (diff)
downloadrsyslog-f5638ea86a8626b7e0e471d720359cb4e3d8cb1c.tar.gz
Imported Upstream version 7.4.2upstream/7.4.2
Diffstat (limited to 'plugins/imptcp')
-rw-r--r--plugins/imptcp/imptcp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/imptcp/imptcp.c b/plugins/imptcp/imptcp.c
index 5c8bb67..906521d 100644
--- a/plugins/imptcp/imptcp.c
+++ b/plugins/imptcp/imptcp.c
@@ -1419,10 +1419,7 @@ BEGINnewInpInst
CODESTARTnewInpInst
DBGPRINTF("newInpInst (imptcp)\n");
- pvals = nvlstGetParams(lst, &inppblk, NULL);
- if(pvals == NULL) {
- errmsg.LogError(0, RS_RET_MISSING_CNFPARAMS,
- "imptcp: required parameter are missing\n");
+ if((pvals = nvlstGetParams(lst, &inppblk, NULL)) == NULL) {
ABORT_FINALIZE(RS_RET_MISSING_CNFPARAMS);
}