summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2012-08-09 17:07:17 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-26 10:14:50 +0200
commit14875be702b0c90c098888cba689190cec031646 (patch)
tree783bdfc6dd4638506402c0644f1d28f5a7e51d6d
parent7d58175dbe89502352a044c0d131aa4c5e2b3f37 (diff)
downloadrsyslog-14875be702b0c90c098888cba689190cec031646.zip
rsyslog-14875be702b0c90c098888cba689190cec031646.tar.gz
rsyslog-14875be702b0c90c098888cba689190cec031646.tar.xz
Remove a no-effect ", NULL";
It does nothing, at is just confusing. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
-rw-r--r--plugins/ommongodb/ommongodb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ommongodb/ommongodb.c b/plugins/ommongodb/ommongodb.c
index d122b6f..00afcf6 100644
--- a/plugins/ommongodb/ommongodb.c
+++ b/plugins/ommongodb/ommongodb.c
@@ -343,7 +343,7 @@ CODESTARTnewActInst
if(!strcmp(actpblk.descr[i].name, "server")) {
pData->server = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
} else if(!strcmp(actpblk.descr[i].name, "serverport")) {
- pData->port = (int) pvals[i].val.d.n, NULL;
+ pData->port = (int) pvals[i].val.d.n;
} else if(!strcmp(actpblk.descr[i].name, "db")) {
pData->db = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
} else if(!strcmp(actpblk.descr[i].name, "collection")) {