[gupnp-tools] network-light: Use GLib's UUID function
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-tools] network-light: Use GLib's UUID function
- Date: Mon, 10 Oct 2022 22:04:13 +0000 (UTC)
commit 75ea59ed7d8fcb8fbfca23ba919b1db30c77a757
Author: Jens Georg <mail jensge org>
Date: Mon Oct 10 23:29:51 2022 +0200
network-light: Use GLib's UUID function
src/network-light/upnp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]