[telepathy-gabble/master] proxies_disco_cb: log a debug msg if disco failed

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Dec 4 09:22:02 PST 2009


---
 src/bytestream-factory.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/bytestream-factory.c b/src/bytestream-factory.c
index 92eb390..df6f055 100644
--- a/src/bytestream-factory.c
+++ b/src/bytestream-factory.c
@@ -431,7 +431,10 @@ proxies_disco_cb (GabbleDisco *disco,
   priv->proxies_list_expired = FALSE;
 
   if (error != NULL)
-    return;
+    {
+      DEBUG ("disco failed: %s", error->message);
+      return;
+    }
 
   for (i = node_iter (query_result); i; i = node_iter_next (i))
     {
-- 
1.5.6.5




More information about the telepathy-commits mailing list