diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-08-08 18:05:06 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-08-08 18:05:06 +0800 |
commit | 8ad196691413c2b40c525ad3a7335495b7102de3 (patch) | |
tree | 893b374058156a526806f3a326f55ea5d9a5ff20 /libempathy/empathy-sasl-mechanisms.c | |
parent | 7b5a073c39fbd8ed38cceb54ecb8f7d60dd45878 (diff) | |
download | gsoc2013-empathy-8ad196691413c2b40c525ad3a7335495b7102de3.tar gsoc2013-empathy-8ad196691413c2b40c525ad3a7335495b7102de3.tar.gz gsoc2013-empathy-8ad196691413c2b40c525ad3a7335495b7102de3.tar.bz2 gsoc2013-empathy-8ad196691413c2b40c525ad3a7335495b7102de3.tar.lz gsoc2013-empathy-8ad196691413c2b40c525ad3a7335495b7102de3.tar.xz gsoc2013-empathy-8ad196691413c2b40c525ad3a7335495b7102de3.tar.zst gsoc2013-empathy-8ad196691413c2b40c525ad3a7335495b7102de3.zip |
improve SASL debug output
Diffstat (limited to 'libempathy/empathy-sasl-mechanisms.c')
-rw-r--r-- | libempathy/empathy-sasl-mechanisms.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-sasl-mechanisms.c b/libempathy/empathy-sasl-mechanisms.c index 78bb59b10..316e31b4e 100644 --- a/libempathy/empathy-sasl-mechanisms.c +++ b/libempathy/empathy-sasl-mechanisms.c @@ -84,11 +84,15 @@ sasl_status_changed_cb (TpChannel *channel, tp_proxy_dbus_error_to_gerror (channel, dbus_error, tp_asv_get_string (details, "debug-message"), &error); + DEBUG ("SASL failed: %s", error->message); + g_simple_async_result_take_error (result, error); } break; case TP_SASL_STATUS_SUCCEEDED: + DEBUG ("SASL succeeded"); + g_simple_async_result_complete (result); break; |