Source: rsyslog
Source-Version: 8.4.2-1
Tags: patch
Hi,
Below patch fixes a few typos reported by lintian. There are a few
more in other files, though.
Cheers
---
Index: rsyslog-8.4.2-1/plugins/imudp/imudp.c
===================================================================
--- rsyslog-8.4.2-1/plugins/imudp/imudp.c
+++ rsyslog-8.4.2-1/plugins/imudp/imudp.c
@@ -187,9 +187,9 @@
};
#include "im-helper.h" /* must be included AFTER the type definitions! */
+/* create input instance, set default parameters, and
-/* create input instance, set default paramters, and
* add it to the list of instances.
*/
static rsRetVal
createInstance(instanceConf_t **pinst)
@@ -878,16 +878,16 @@
continue; /* array, handled by caller */
} else if(!strcmp(inppblk.descr[i].name, "name")) {
if(inst->inputname != NULL) {
errmsg.LogError(0, RS_RET_INVALID_PARAMS,
"imudp: name and inputname "
+ "parameter specified - only one
can be used");
- "paramter specified - only one
can be used");
ABORT_FINALIZE(RS_RET_INVALID_PARAMS);
}
inst->inputname =
(uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
} else if(!strcmp(inppblk.descr[i].name, "name.appendport")) {
if(bAppendPortUsed) {
errmsg.LogError(0, RS_RET_INVALID_PARAMS,
"imudp: name.appendport and "
+ "inputname.appendport parameter
specified - only one can be used");
- "inputname.appendport paramter
specified - only one can be used");
ABORT_FINALIZE(RS_RET_INVALID_PARAMS);
}
inst->bAppendPortToInpname = (int) pvals[i].val.d.n;
bAppendPortUsed = 1;
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]