Mercurial > pidgin.yaz
diff src/protocols/jabber/jabber.c @ 8783:ab295b8a95a0
[gaim-migrate @ 9545]
Compile this!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 23 Apr 2004 23:23:49 +0000 |
parents | 8bf735cf9d1c |
children | 80b4c956d7ae |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Fri Apr 23 23:10:10 2004 +0000 +++ b/src/protocols/jabber/jabber.c Fri Apr 23 23:23:49 2004 +0000 @@ -270,11 +270,6 @@ GaimConnection *gc = data; JabberStream *js = gc->proto_data; - if (source < 0) { - gaim_connection_error(gc, _("Couldn't connect to host")); - return; - } - if(!g_list_find(gaim_connections_get_all(), gc)) { gaim_ssl_close(gsc); return; @@ -296,6 +291,11 @@ GaimConnection *gc = data; JabberStream *js = gc->proto_data; + if (source < 0) { + gaim_connection_error(gc, _("Couldn't connect to host")); + return; + } + if(!g_list_find(gaim_connections_get_all(), gc)) { close(source); return;