Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
17531:21773944db4b | 17532:efb5d0fe4895 |
---|---|
103 | 103 |
104 purple_proxy_info_destroy(jsx->gpi); | 104 purple_proxy_info_destroy(jsx->gpi); |
105 jsx->connect_data = NULL; | 105 jsx->connect_data = NULL; |
106 | 106 |
107 if(source < 0) { | 107 if(source < 0) { |
108 purple_debug_warning("jabber", | |
109 "si connection failed, jid was %s, host was %s, error was %s\n", | |
110 streamhost->jid, streamhost->host, error_message); | |
108 jsx->streamhosts = g_list_remove(jsx->streamhosts, streamhost); | 111 jsx->streamhosts = g_list_remove(jsx->streamhosts, streamhost); |
109 g_free(streamhost->jid); | 112 g_free(streamhost->jid); |
110 g_free(streamhost->host); | 113 g_free(streamhost->host); |
111 g_free(streamhost); | 114 g_free(streamhost); |
112 jabber_si_bytestreams_attempt_connect(xfer); | 115 jabber_si_bytestreams_attempt_connect(xfer); |