[gupnp-tools] network-light: Fix device creation
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-tools] network-light: Fix device creation
- Date: Wed, 29 Jul 2020 20:47:39 +0000 (UTC)
commit 0ed37b3d70eef65723ae8560289a5d5b62e26cc0
Author: Jens Georg <mail jensge org>
Date: Sat Jul 25 21:05:44 2020 +0200
network-light: Fix device creation
src/network-light/upnp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/network-light/upnp.c b/src/network-light/upnp.c
index e5d593e..1b5dadf 100644
--- a/src/network-light/upnp.c
+++ b/src/network-light/upnp.c
@@ -409,9 +409,9 @@ static void init_uuid (void)
char *udn;
uuid = gupnp_get_uuid ();
+ const xmlDoc *xml_doc = gupnp_xml_doc_get_doc (doc);
- uuid_node = xml_util_get_element ((xmlNode *) doc,
- gupnp_xml_doc_get_doc (doc),
+ uuid_node = xml_util_get_element ((xmlNode *) xml_doc,
"root",
"device",
"UDN",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]