vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jun  1 16:38:05 
2016 +0200| [142920d44a5c59c455e57d62448ed7517ea657f9] | committer: 
Jean-Baptiste Kempf

upnp: m_sd->p_sys->p_server_list in MediaServerList equals this

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=142920d44a5c59c455e57d62448ed7517ea657f9
---

 modules/services_discovery/upnp.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/services_discovery/upnp.cpp 
b/modules/services_discovery/upnp.cpp
index 776280b..e967e2e 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -428,7 +428,7 @@ void MediaServerList::parseNewServer( IXML_Document *doc, 
const std::string &loc
         }
 
         /* Check if server is already added */
-        if ( m_sd->p_sys->p_server_list->getServer( psz_udn ) )
+        if ( getServer( psz_udn ) )
         {
             msg_Warn( m_sd, "Server with uuid '%s' already exists.", psz_udn );
             continue;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to