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 12:21:03 +0200
commit7580b8c954ad2291198c52b7bc50ae7a41be65a5 (patch)
tree6ebf057288fa60f321e4533daed2e02b36a1f23d
parente1753e3dd1b03f2ca8863bbaee3ab799dca4932e (diff)
downloadrsyslog-7580b8c954ad2291198c52b7bc50ae7a41be65a5.zip
rsyslog-7580b8c954ad2291198c52b7bc50ae7a41be65a5.tar.gz
rsyslog-7580b8c954ad2291198c52b7bc50ae7a41be65a5.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 39e2e4f..aa20b33 100644
--- a/plugins/ommongodb/ommongodb.c
+++ b/plugins/ommongodb/ommongodb.c
@@ -340,7 +340,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")) {