Mercurial > pidgin.yaz
changeset 15626:fc586f7f23bd
merge of '7822ac971c736a7e6545da828b1b79db67ad732f'
and 'faa53491f8f01ef4da3e5c311163dd625bbdff02'
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Tue, 13 Feb 2007 05:02:05 +0000 |
parents | 66dc2367b137 (diff) 3548e64b0245 (current diff) |
children | 0b16a4aa4e2b |
files | |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Mon Feb 12 08:43:04 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Feb 13 05:02:05 2007 +0000 @@ -475,8 +475,13 @@ gpointer data) { GaimConnection *gc = data; - JabberStream *js = gc->proto_data; + JabberStream *js; + /* If the connection is already disconnected, we don't need to do anything else */ + if(!GAIM_CONNECTION_IS_VALID(gc)) + return; + + js = gc->proto_data; js->gsc = NULL; switch(error) {