[vlc-commits] upnp: Cosmetics

Mirsal Ennaime git at videolan.org
Tue May 1 11:00:38 CEST 2012


vlc | branch: master | Mirsal Ennaime <mirsal at videolan.org> | Tue May  1 10:57:41 2012 +0200| [d774b349bed4caba275a472f7b7099832abad779] | committer: Mirsal Ennaime

upnp: Cosmetics

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

 modules/services_discovery/upnp.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index 81f95ab..96b8880 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -435,7 +435,8 @@ void MediaServer::parseDeviceDescription( IXML_Document* p_doc,
                     strlen( MEDIA_SERVER_DEVICE_TYPE ) - 1 ) != 0 )
                 continue;
 
-            const char* psz_udn = xml_getChildElementValue( p_device_element, "UDN" );
+            const char* psz_udn = xml_getChildElementValue( p_device_element,
+                                                            "UDN" );
             if ( !psz_udn )
             {
                 msg_Warn( p_sd, "No UDN!" );
@@ -459,7 +460,8 @@ void MediaServer::parseDeviceDescription( IXML_Document* p_doc,
                 continue;
             }
 
-            MediaServer* p_server = new MediaServer( psz_udn, psz_friendly_name, p_sd );
+            MediaServer* p_server = new MediaServer( psz_udn,
+                    psz_friendly_name, p_sd );
 
             if ( !p_sd->p_sys->p_server_list->addServer( p_server ) )
             {
@@ -478,7 +480,7 @@ void MediaServer::parseDeviceDescription( IXML_Document* p_doc,
                       j < ixmlNodeList_length( p_service_list ); j++ )
                 {
                     IXML_Element* p_service_element =
-                        ( IXML_Element* ) ixmlNodeList_item( p_service_list, j );
+                       ( IXML_Element* ) ixmlNodeList_item( p_service_list, j );
 
                     const char* psz_service_type =
                         xml_getChildElementValue( p_service_element,



More information about the vlc-commits mailing list