Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d774b349
Commit
d774b349
authored
May 01, 2012
by
Mirsal Ennaime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upnp: Cosmetics
parent
85dd71ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/services_discovery/upnp.cpp
modules/services_discovery/upnp.cpp
+5
-3
No files found.
modules/services_discovery/upnp.cpp
View file @
d774b349
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment