pidgin: 2a50d625: jabber: Avoid an assertion failure for p...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Mon May 3 01:07:10 EDT 2010
-----------------------------------------------------------------
Revision: 2a50d625da688b225726bcb519f93d4ccece9ff2
Ancestor: a2dd1762b06c69cfde04e1bcc6d27df53da46c84
Author: darkrain42 at pidgin.im
Date: 2010-05-03T05:02:30
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2a50d625da688b225726bcb519f93d4ccece9ff2
Modified files:
libpurple/protocols/jabber/presence.c
ChangeLog:
jabber: Avoid an assertion failure for presence from bare domains
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c 253b82a6a831c587f67d93c9d82c02c78f1c6f3c
+++ libpurple/protocols/jabber/presence.c 77f8c39cfef24a6905529212637e69eb2d5a68bf
@@ -924,8 +924,9 @@ void jabber_presence_parse(JabberStream
goto out;
}
- presence.chat = jabber_chat_find(js, presence.jid_from->node,
- presence.jid_from->domain);
+ if (presence.jid_from->node)
+ presence.chat = jabber_chat_find(js, presence.jid_from->node,
+ presence.jid_from->domain);
if(presence.jb->error_msg) {
g_free(presence.jb->error_msg);
presence.jb->error_msg = NULL;
More information about the Commits
mailing list