From: Nathan W. <fac...@us...> - 2005-01-30 17:19:21
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv954/src/protocols/jabber Modified Files: Tag: oldstatus presence.c Log Message: fix 1109625 Index: presence.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/presence.c,v retrieving revision 1.56.2.3 retrieving revision 1.56.2.4 diff -u -d -p -r1.56.2.3 -r1.56.2.4 --- presence.c 3 Jan 2005 06:52:11 -0000 1.56.2.3 +++ presence.c 30 Jan 2005 17:19:12 -0000 1.56.2.4 @@ -352,7 +352,7 @@ void jabber_presence_parse(JabberStream /* If we haven't joined the chat yet, we don't care that someone * left, or it was us leaving after we closed the chat */ if(!chat->conv) { - if(!strcmp(jid->resource, chat->handle)) + if(jid->resource && chat->handle && !strcmp(jid->resource, chat->handle)) jabber_chat_destroy(chat); jabber_id_free(jid); g_free(status); |