From 8ad196691413c2b40c525ad3a7335495b7102de3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 8 Aug 2012 12:05:06 +0200 Subject: improve SASL debug output --- libempathy/empathy-sasl-mechanisms.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libempathy/empathy-sasl-mechanisms.c') 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; -- cgit v1.2.3