mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
Modified UPNP_VERSION comparison from 10617 to 10800, as it appears the functionality was only added then.
I'm sure I'll be told if this wrong - as I can't test this ;) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5440 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9f7d54f91d
commit
20d7837806
1 changed files with 3 additions and 3 deletions
|
@ -1477,7 +1477,7 @@ upnpEventSubscriptionExpired:
|
||||||
int TimeOut = 1801;
|
int TimeOut = 1801;
|
||||||
int ret = UpnpSubscribe(
|
int ret = UpnpSubscribe(
|
||||||
upnpCP->m_UPnPClientHandle,
|
upnpCP->m_UPnPClientHandle,
|
||||||
#if UPNP_VERSION >= 10617
|
#if UPNP_VERSION >= 10800
|
||||||
UpnpString_get_String(es_event->PublisherUrl),
|
UpnpString_get_String(es_event->PublisherUrl),
|
||||||
#else
|
#else
|
||||||
es_event->PublisherUrl,
|
es_event->PublisherUrl,
|
||||||
|
@ -1490,7 +1490,7 @@ upnpEventSubscriptionExpired:
|
||||||
msg, es_event->ErrCode, NULL, NULL);
|
msg, es_event->ErrCode, NULL, NULL);
|
||||||
} else {
|
} else {
|
||||||
ServiceMap::iterator it =
|
ServiceMap::iterator it =
|
||||||
#if UPNP_VERSION >= 10617
|
#if UPNP_VERSION >= 10800
|
||||||
upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
|
upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
|
||||||
#else
|
#else
|
||||||
upnpCP->m_ServiceMap.find(es_event->PublisherUrl);
|
upnpCP->m_ServiceMap.find(es_event->PublisherUrl);
|
||||||
|
@ -1500,7 +1500,7 @@ upnpEventSubscriptionExpired:
|
||||||
service.SetTimeout(TimeOut);
|
service.SetTimeout(TimeOut);
|
||||||
service.SetSID(newSID);
|
service.SetSID(newSID);
|
||||||
std::cerr << "CUPnPControlPoint::Callback() Re-subscribed to EventURL '" <<
|
std::cerr << "CUPnPControlPoint::Callback() Re-subscribed to EventURL '" <<
|
||||||
#if UPNP_VERSION >= 10617
|
#if UPNP_VERSION >= 10800
|
||||||
UpnpString_get_String(es_event->PublisherUrl) <<
|
UpnpString_get_String(es_event->PublisherUrl) <<
|
||||||
#else
|
#else
|
||||||
es_event->PublisherUrl <<
|
es_event->PublisherUrl <<
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue