diff libpurple/protocols/jabber/si.c @ 17532:efb5d0fe4895

Better error message for when a Jabber connection fails
author Mark Doliner <mark@kingant.net>
date Thu, 07 Jun 2007 06:22:37 +0000
parents cc1b4d2e5a9b
children b8572b937c09
line wrap: on
line diff
--- a/libpurple/protocols/jabber/si.c	Thu Jun 07 05:28:05 2007 +0000
+++ b/libpurple/protocols/jabber/si.c	Thu Jun 07 06:22:37 2007 +0000
@@ -105,6 +105,9 @@
 	jsx->connect_data = NULL;
 
 	if(source < 0) {
+		purple_debug_warning("jabber",
+				"si connection failed, jid was %s, host was %s, error was %s\n",
+				streamhost->jid, streamhost->host, error_message);
 		jsx->streamhosts = g_list_remove(jsx->streamhosts, streamhost);
 		g_free(streamhost->jid);
 		g_free(streamhost->host);