[telepathy-gabble/telepathy-gabble-0.8] vcard-manager.c: Add a debug when Gabble suspend a vCard request

Alban Crequy alban.crequy at collabora.co.uk
Mon Sep 28 05:08:03 PDT 2009


---
 src/vcard-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/vcard-manager.c b/src/vcard-manager.c
index d03f25c..de0d33e 100644
--- a/src/vcard-manager.c
+++ b/src/vcard-manager.c
@@ -1095,6 +1095,9 @@ pipeline_reply_cb (GabbleConnection *conn,
           gabble_xmpp_error_from_node (error_node, &error_type) ==
           XMPP_ERROR_RESOURCE_CONSTRAINT && error_type == XMPP_ERROR_TYPE_WAIT)
         {
+          DEBUG ("Cannot get <%u>'s vCard now: the server returned a "
+                 "temporary error. Suspend the request.",
+                 entry->handle);
           g_source_remove (request->timer_id);
           request->timer_id = 0;
           entry->suspended_timer_id = g_timeout_add_seconds (
-- 
1.5.6.5




More information about the telepathy-commits mailing list