pidgin: 773d9ac4: jabber: Print a better error message whe...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Mon Dec 14 19:20:43 EST 2009


-----------------------------------------------------------------
Revision: 773d9ac497939f57a24695fab18a54da73d55aeb
Ancestor: 780ee14f6ced21de7257b3149c186223ab446d57
Author: darkrain42 at pidgin.im
Date: 2009-12-15T00:14:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/773d9ac497939f57a24695fab18a54da73d55aeb

Modified files:
        libpurple/protocols/jabber/jabber.c

ChangeLog: 

jabber: Print a better error message when all connection methods fail.

datallah suggested going back to something like this (a few months ago)
and MattJ and a user just brought it up again.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	2c89b601a78832cf5745521b1bf8c6ca09d65bdf
+++ libpurple/protocols/jabber/jabber.c	3f8dd3c03faffaf7c79505103730b4ed8b2a4621
@@ -639,10 +639,11 @@ txt_resolved_cb(GList *responses, gpoint
 	js->srv_query_data = NULL;
 
 	if (responses == NULL) {
+		purple_debug_warning("jabber", "Unable to find alternative XMPP connection "
+				  "methods after failing to connect directly.");
 		purple_connection_error_reason(js->gc,
 				PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
-				_("Unable to find alternative XMPP connection "
-				  "methods after failing to connect directly."));
+				_("Unable to connect"));
 		return;
 	}
 


More information about the Commits mailing list