Remove a no-effect ", NULL";

It does nothing, at is just confusing.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač 2012-08-09 17:07:17 +02:00 committed by Rainer Gerhards
parent e1753e3dd1
commit 7580b8c954

View File

@ -340,7 +340,7 @@ CODESTARTnewActInst
if(!strcmp(actpblk.descr[i].name, "server")) { if(!strcmp(actpblk.descr[i].name, "server")) {
pData->server = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL); pData->server = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
} else if(!strcmp(actpblk.descr[i].name, "serverport")) { } 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")) { } else if(!strcmp(actpblk.descr[i].name, "db")) {
pData->db = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL); pData->db = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL);
} else if(!strcmp(actpblk.descr[i].name, "collection")) { } else if(!strcmp(actpblk.descr[i].name, "collection")) {