upnpreplyparse.c: NameValueParserEndElt() rename arg to avoid confusion

This commit is contained in:
Thomas Bernard 2017-12-12 12:21:38 +01:00
parent 1f5ca16931
commit 377cef2dc8
1 changed files with 2 additions and 2 deletions

View File

@ -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)