[gnome-bluetooth] wizard: More debug for NULL pincodes



commit 277bf3d4d755924c2765e32e9f2dfe460a04dcd8
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 25 18:15:36 2013 +0100

    wizard: More debug for NULL pincodes

 wizard/main.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index cda8a95..4d5a280 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -633,8 +633,10 @@ void prepare_callback (GtkWidget *assistant,
 
                g_object_ref(agent);
 
-               if (user_pincode != NULL && g_str_equal (user_pincode, "NULL"))
+               if (user_pincode != NULL && g_str_equal (user_pincode, "NULL")) {
+                       g_debug ("Got NULL pincode, will not pair with %s", target_name);
                        pair = FALSE;
+               }
 
                bluetooth_client_setup_device (client,
                                               device,


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