[vlc-commits] upnp: m_sd->p_sys->p_server_list in MediaServerList equals this

Steve Lhomme git at videolan.org
Wed Jun 1 17:42:21 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | 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 <jb at videolan.org>

> 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;



More information about the vlc-commits mailing list