pidgin: bc166fa1: Avoid an assertion when acking the gmail...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun May 10 18:06:08 EDT 2009
-----------------------------------------------------------------
Revision: bc166fa1753ca1852b8b0dd0566d93a85644884f
Ancestor: b64b40b3762950d0b8b4bff4f4bb8bddeefc24ac
Author: darkrain42 at pidgin.im
Date: 2009-05-10T21:59:30
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bc166fa1753ca1852b8b0dd0566d93a85644884f
Modified files:
libpurple/protocols/jabber/google.c
ChangeLog:
Avoid an assertion when acking the gmail poke
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google.c e17f7f655907c739c4668a8a638331e45c4c83a8
+++ libpurple/protocols/jabber/google.c 18fe534d19222847554c8b1f326a200c1dac1551
@@ -763,7 +763,8 @@ jabber_gmail_poke(JabberStream *js, cons
/* Acknowledge the notification */
iq = jabber_iq_new(js, JABBER_IQ_RESULT);
- xmlnode_set_attrib(iq->node, "to", from);
+ if (from)
+ xmlnode_set_attrib(iq->node, "to", from);
xmlnode_set_attrib(iq->node, "id", id);
jabber_iq_send(iq);
More information about the Commits
mailing list