Mercurial > pidgin
changeset 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 | 5a2b5e4abf3a |
children | 48dd097eb475 |
files | src/protocols/jabber/jabber.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
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;