Mercurial > pidgin
changeset 2032:cfb9cf4655e6
[gaim-migrate @ 2042]
whoops.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 16 Jun 2001 03:10:07 +0000 |
parents | d7a1bbf220b0 |
children | 705783e5ab8c |
files | plugins/jabber/jabber.c |
diffstat | 1 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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;