[aravis] gv_device: more debugging output.



commit 3b02cd526551d99e7ba80581166ff68c38e57636
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Wed May 19 10:48:06 2010 -0400

    gv_device: more debugging output.

 src/arvgvdevice.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/arvgvdevice.c b/src/arvgvdevice.c
index 0b1d20a..8b8d5b8 100644
--- a/src/arvgvdevice.c
+++ b/src/arvgvdevice.c
@@ -524,10 +524,18 @@ arv_gv_device_new (GInetAddress *interface_address, GInetAddress *device_address
 	ArvGvDevice *gv_device;
 	ArvGvDeviceIOData *io_data;
 	ArvGvDeviceHeartbeatData *heartbeat_data;
+	char *address_string;
 
 	g_return_val_if_fail (G_IS_INET_ADDRESS (interface_address), NULL);
 	g_return_val_if_fail (G_IS_INET_ADDRESS (device_address), NULL);
 
+	address_string = g_inet_address_to_string (interface_address);
+	arv_debug ("device", "[GvDevice::new] Interface address = %s", address_string);
+	g_free (address_string);
+	address_string = g_inet_address_to_string (device_address);
+	arv_debug ("device", "[GvDevice::new] Device address = %s", address_string);
+	g_free (address_string);
+
 	gv_device = g_object_new (ARV_TYPE_GV_DEVICE, NULL);
 
 	io_data = g_new (ArvGvDeviceIOData, 1);



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