upnpreplyparse.c: NameValueParserEndElt() rename arg to avoid confusion
This commit is contained in:
parent
1f5ca16931
commit
377cef2dc8
|
@ -27,12 +27,12 @@ NameValueParserStartElt(void * d, const char * name, int l)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
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 NameValueParserData * data = (struct NameValueParserData *)d;
|
||||||
struct NameValue * nv;
|
struct NameValue * nv;
|
||||||
(void)name;
|
(void)name;
|
||||||
(void)l;
|
(void)namelen;
|
||||||
if(!data->topelt)
|
if(!data->topelt)
|
||||||
return;
|
return;
|
||||||
if(strcmp(data->curelt, "NewPortListing") != 0)
|
if(strcmp(data->curelt, "NewPortListing") != 0)
|
||||||
|
|
Loading…
Reference in New Issue