[gssdp] client: More debug output



commit e8ff36eb68abc86e268288d5244563f92cba9407
Author: Jens Georg <mail jensge org>
Date:   Sun Nov 11 06:48:02 2018 +0100

    client: More debug output
    
    Also output address and mask pointers

 libgssdp/gssdp-client.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index eb1c1da..aea317e 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -1509,11 +1509,13 @@ init_network_info (GSSDPClient *client, GError **error)
                 ret = FALSE;
         }
 
-        g_debug ("Created SSDP client %p", client);
+        g_debug ("Created SSDP client 0x%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);
         g_debug ("  network    : %s", priv->device.network);
+        g_debug ("  host_addr  : 0x%p", priv->device.host_addr);
+        g_debug ("  host_mask  : 0x%p", priv->device.host_mask);
 
         return ret;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]