Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2012
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. ~/retroshare-trunk$ svn diff
  2. Index: libretroshare/src/upnp/UPnPBase.cpp
  3. ===================================================================
  4. --- libretroshare/src/upnp/UPnPBase.cpp (revision 5193)
  5. +++ libretroshare/src/upnp/UPnPBase.cpp (working copy)
  6. @@ -1477,7 +1477,7 @@
  7. int TimeOut = 1801;
  8. int ret = UpnpSubscribe(
  9. upnpCP->m_UPnPClientHandle,
  10. - es_event->PublisherUrl,
  11. + UpnpString_get_String(es_event->PublisherUrl),
  12. &TimeOut,
  13. newSID);
  14. if (ret != UPNP_E_SUCCESS) {
  15. @@ -1486,7 +1486,7 @@
  16. msg, es_event->ErrCode, NULL, NULL);
  17. } else {
  18. ServiceMap::iterator it =
  19. - upnpCP->m_ServiceMap.find(es_event->PublisherUrl);
  20. + upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
  21. if (it != upnpCP->m_ServiceMap.end()) {
  22. CUPnPService &service = *(it->second);
  23. service.SetTimeout(TimeOut);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement