Update of /cvsroot/gaim/gaim/src/protocols/jabber
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1211/src/protocols/jabber
Modified Files:
presence.c
Log Message:
fix 1109625
Index: presence.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/presence.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -p -r1.65 -r1.66
--- presence.c 8 Jan 2005 21:10:17 -0000 1.65
+++ presence.c 30 Jan 2005 17:19:57 -0000 1.66
@@ -386,7 +386,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);
|