From a55234d80604f1593e004837a32ebccca824a3a2 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 12 Dec 2017 12:47:33 +0100 Subject: [PATCH] upnpreplyparse.c: NameValueParserEndElt() rename arg to avoid confusion --- miniupnpd/upnpreplyparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miniupnpd/upnpreplyparse.c b/miniupnpd/upnpreplyparse.c index ae84b0b..5921349 100644 --- a/miniupnpd/upnpreplyparse.c +++ b/miniupnpd/upnpreplyparse.c @@ -1,4 +1,4 @@ -/* $Id: upnpreplyparse.c,v 1.19 2015/07/15 10:29:11 nanard Exp $ */ +/* $Id: upnpreplyparse.c,v 1.20 2017/12/12 11:26:25 nanard Exp $ */ /* vim: tabstop=4 shiftwidth=4 noexpandtab * MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ @@ -27,12 +27,12 @@ NameValueParserStartElt(void * d, const char * name, int l) } static void -NameValueParserEndElt(void * d, const char * name, int l) +NameValueParserEndElt(void * d, const char * name, int namelen) { struct NameValueParserData * data = (struct NameValueParserData *)d; struct NameValue * nv; (void)name; - (void)l; + (void)namelen; if(!data->topelt) return; if(strcmp(data->curelt, "NewPortListing") != 0)