summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2022-10-10 23:29:51 +0200
committerJens Georg <mail@jensge.org>2022-10-10 23:29:51 +0200
commit75ea59ed7d8fcb8fbfca23ba919b1db30c77a757 (patch)
tree41de3add98bef11245d6cd630426538ba4497e2c
parentccb98911b5f4cdc40bc97b32ce3bfa83e212d869 (diff)
downloadgupnp-tools-75ea59ed7d8fcb8fbfca23ba919b1db30c77a757.tar.gz
network-light: Use GLib's UUID function
-rw-r--r--src/network-light/upnp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network-light/upnp.c b/src/network-light/upnp.c
index f38b3a6..03301e6 100644
--- a/src/network-light/upnp.c
+++ b/src/network-light/upnp.c
@@ -412,7 +412,7 @@ static void init_uuid (void)
xmlNode *uuid_node;
char *udn;
- uuid = gupnp_get_uuid ();
+ uuid = g_uuid_string_random ();
const xmlDoc *xml_doc = gupnp_xml_doc_get_doc (doc);
uuid_node = xml_util_get_element ((xmlNode *) xml_doc,