diff -r f59356e29d60 -r 64404ad53fd5 plugins/jabber/jabber.c --- a/plugins/jabber/jabber.c Sat Jun 16 03:06:32 2001 +0000 +++ b/plugins/jabber/jabber.c Sat Jun 16 03:10:07 2001 +0000 @@ -420,19 +420,23 @@ { xmlnode x; char *t, *t2; - struct gaim_connection *gc = data;; + struct gaim_connection *gc = data; + struct jabber_data *jd; gjconn j; + if (!g_slist_find(connections, gc)) { + close(source); + return; + } + + jd = gc->proto_data; + j = jd->jc; + if (source == -1) { STATE_EVT(JCONN_STATE_OFF) return; } - if (!g_slist_find(connections, gc)) { - close(source); - return; - } - if (j->fd != source) j->fd = source;