changeset 10558:8bcf7909bec8

[gaim-migrate @ 11936] fix 1109625 committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 30 Jan 2005 17:19:57 +0000
parents a511fb614157
children c354b70d8502
files src/protocols/jabber/presence.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c	Sat Jan 29 23:08:56 2005 +0000
+++ b/src/protocols/jabber/presence.c	Sun Jan 30 17:19:57 2005 +0000
@@ -386,7 +386,7 @@
 			/* 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);