summaryrefslogtreecommitdiffstats
path: root/plugins/imudp/imudp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-06-24 18:25:53 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-06-24 18:25:53 +0200
commitef5887e864307486f0fe07a23ed9ea7c4789dc11 (patch)
treead06be320d5f4638cecfb43d6c5ddb22aca7b1ee /plugins/imudp/imudp.c
parent394f8dd88908314796e0a2ca679188a8f511f18d (diff)
parent1de0e68c927e25fd0ca4f859a33d4943c6b8948f (diff)
downloadrsyslog-ef5887e864307486f0fe07a23ed9ea7c4789dc11.tar.gz
rsyslog-ef5887e864307486f0fe07a23ed9ea7c4789dc11.tar.bz2
rsyslog-ef5887e864307486f0fe07a23ed9ea7c4789dc11.zip
Merge branch 'v7-stable'
Diffstat (limited to 'plugins/imudp/imudp.c')
-rw-r--r--plugins/imudp/imudp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c
index 7bf1473a..1bdd0868 100644
--- a/plugins/imudp/imudp.c
+++ b/plugins/imudp/imudp.c
@@ -746,10 +746,7 @@ BEGINnewInpInst
CODESTARTnewInpInst
DBGPRINTF("newInpInst (imudp)\n");
- pvals = nvlstGetParams(lst, &inppblk, NULL);
- if(pvals == NULL) {
- errmsg.LogError(0, RS_RET_MISSING_CNFPARAMS,
- "imudp: required parameter are missing\n");
+ if((pvals = nvlstGetParams(lst, &inppblk, NULL)) == NULL) {
ABORT_FINALIZE(RS_RET_MISSING_CNFPARAMS);
}
if(Debug) {