[vlc-devel] [PATCH 2/7] upnp: m_sd->p_sys->p_server_list in MediaServerList equals this

Steve Lhomme robux4 at videolabs.io
Wed Jun 1 16:38:05 CEST 2016


---
 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 254f8c0..ea21b4d 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -426,7 +426,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;
-- 
2.8.1



More information about the vlc-devel mailing list