# HG changeset patch # User Mark Doliner # Date 1082762629 0 # Node ID ab295b8a95a0c852d81e75bc188574a127abc545 # Parent 5a2b5e4abf3afc299d5aa9976673961d447dc61d [gaim-migrate @ 9545] Compile this! committer: Tailor Script diff -r 5a2b5e4abf3a -r ab295b8a95a0 src/protocols/jabber/jabber.c --- 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;