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



commit f866f5bcbea86bdf9f566fe3e6e729b14206f8cf
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 4ae39fe..8c10033 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -620,8 +620,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]