SF Bug Tracker id 3502958 - The commit 5944960e prevents a pupnp client (amule) from receiving replies from an IGD device.

Previous change broke the feature. The error of unique_service_name
in ssdp_request_type should be ignored.
This reverts commit 5944960e17.
(cherry picked from commit 35819a7a44)
This commit is contained in:
Yoichi NAKAYAMA 2012-03-14 22:32:32 +09:00 committed by Marcelo Roberto Jimenez
parent ecaf15417a
commit 4b8982970e
2 changed files with 9 additions and 4 deletions

View File

@ -318,6 +318,14 @@ Version 1.8.0
Version 1.6.16
*******************************************************************************
2012-03-14 Yoichi NAKAYAMA <yoichi.nakayama(at)gmail.com>
SF Bug Tracker id 3502958 - The commit 5944960e prevents a pupnp client (amule) from receiving replies from an IGD device.
Previous change broke the feature. The error of unique_service_name
in ssdp_request_type should be ignored.
This reverts commit 5944960e172a797a9fcc196291f4046cafa7f6ec.
2012-03-13 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
Address family is an int

View File

@ -552,10 +552,7 @@ int ssdp_request_type(char *cmd, SsdpEvent *Evt)
{
/* clear event */
memset(Evt, 0, sizeof(SsdpEvent));
if (unique_service_name(cmd, Evt) != 0) {
Evt->ErrCode = E_HTTP_SYNTEX;
return -1;
}
unique_service_name(cmd, Evt);
Evt->ErrCode = NO_ERROR_FOUND;
if ((Evt->RequestType = ssdp_request_type1(cmd)) == SSDP_SERROR) {
Evt->ErrCode = E_HTTP_SYNTEX;