[gssdp] client: Add debug summary after address detection
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] client: Add debug summary after address detection
- Date: Tue, 30 Oct 2018 12:15:52 +0000 (UTC)
commit 4350158e70ec19608a36a3496560e99a2062cb7d
Author: Jens Georg <mail jensge org>
Date: Tue Oct 30 13:06:39 2018 +0100
client: Add debug summary after address detection
libgssdp/gssdp-client.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index b89024b..964f329 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -32,6 +32,8 @@
* and #GSSDPResourceGroup.
*/
+#define G_LOG_DOMAIN "gssdp-client"
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
@@ -1351,7 +1353,10 @@ init_network_info (GSSDPClient *client, GError **error)
ret = FALSE;
}
-
+ g_debug ("Created SSDP client %p", client);
+ g_debug (" iface_name : %s", priv->device.iface_name);
+ g_debug (" host_ip : %s", priv->device.host_ip);
+ g_debug (" server_id : %s", priv->server_id);
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]