miniupnpd/upnpsoap.c: improve ExecuteSoapAction()
improve commit 20f1e070a1
This commit is contained in:
parent
8fa9446d65
commit
4dbbf34032
|
@ -2025,12 +2025,7 @@ ExecuteSoapAction(struct upnphttp * h, const char * action, int n)
|
||||||
while(soapMethods[i].methodName)
|
while(soapMethods[i].methodName)
|
||||||
{
|
{
|
||||||
len = strlen(soapMethods[i].methodName);
|
len = strlen(soapMethods[i].methodName);
|
||||||
if(len != methodlen)
|
if((len == methodlen) && memcmp(p, soapMethods[i].methodName, len) == 0)
|
||||||
{
|
|
||||||
i++;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if(strncmp(p, soapMethods[i].methodName, len) == 0)
|
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
syslog(LOG_DEBUG, "Remote Call of SoapMethod '%s'\n",
|
syslog(LOG_DEBUG, "Remote Call of SoapMethod '%s'\n",
|
||||||
|
|
Loading…
Reference in New Issue