mirror of
https://github.com/status-im/miniupnp.git
synced 2025-03-03 23:10:31 +00:00
ExecuteSoapAction() : add namespace to log messages
This commit is contained in:
parent
ba1c9239c0
commit
6f89608a2c
@ -1,4 +1,4 @@
|
||||
/* $Id: upnpsoap.c,v 1.135 2015/02/10 15:01:24 nanard Exp $ */
|
||||
/* $Id: upnpsoap.c,v 1.142 2015/12/15 11:12:37 nanard Exp $ */
|
||||
/* MiniUPnP project
|
||||
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||
* (c) 2006-2015 Thomas Bernard
|
||||
@ -2174,14 +2174,14 @@ ExecuteSoapAction(struct upnphttp * h, const char * action, int n)
|
||||
len = strlen(soapMethods[i].methodName);
|
||||
if((len == methodlen) && memcmp(p, soapMethods[i].methodName, len) == 0) {
|
||||
#ifdef DEBUG
|
||||
syslog(LOG_DEBUG, "Remote Call of SoapMethod '%s'",
|
||||
soapMethods[i].methodName);
|
||||
syslog(LOG_DEBUG, "Remote Call of SoapMethod '%s' %s",
|
||||
soapMethods[i].methodName, namespace);
|
||||
#endif /* DEBUG */
|
||||
soapMethods[i].methodImpl(h, soapMethods[i].methodName, namespace);
|
||||
return;
|
||||
}
|
||||
}
|
||||
syslog(LOG_NOTICE, "SoapMethod: Unknown: %.*s", methodlen, p);
|
||||
syslog(LOG_NOTICE, "SoapMethod: Unknown: %.*s %s", methodlen, p, namespace);
|
||||
} else {
|
||||
syslog(LOG_NOTICE, "cannot parse SoapAction");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user