[empathy] auth-client: add some more debugging
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] auth-client: add some more debugging
- Date: Thu, 8 Dec 2011 09:09:34 +0000 (UTC)
commit 2c785c36c5b8aa4581121f336fc7313da7c2fc92
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Dec 8 09:52:15 2011 +0100
auth-client: add some more debugging
I'm trying to understand what's going wrong in bug #665542 and having more
debugging would help.
libempathy/empathy-keyring.c | 2 +-
src/empathy-auth-client.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c
index 3a5f6dc..e63ed12 100644
--- a/libempathy/empathy-keyring.c
+++ b/libempathy/empathy-keyring.c
@@ -78,7 +78,7 @@ find_items_cb (GnomeKeyringResult result,
* modified or something but we don't have this information from
* gnome-keyring atm. */
found = list->data;
- DEBUG ("Got secret");
+ DEBUG ("Got %d secrets; use the first one", g_list_length (list));
g_simple_async_result_set_op_res_gpointer (simple, g_strdup (found->secret),
g_free);
diff --git a/src/empathy-auth-client.c b/src/empathy-auth-client.c
index 5b3e48c..22a6252 100644
--- a/src/empathy-auth-client.c
+++ b/src/empathy-auth-client.c
@@ -231,6 +231,8 @@ auth_factory_new_sasl_handler_cb (EmpathyAuthFactory *factory,
/* If the handler has the password it will deal with it itself. */
if (!empathy_server_sasl_handler_has_password (handler))
{
+ DEBUG ("SASL handler doesn't have a password, prompt for one");
+
dialog = empathy_password_dialog_new (handler);
gtk_widget_show (dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]