cpw.darkrain42.xmpp.iq-handlers: 9a25f2e3: This is shorter and easier to read.
paul at darkrain42.org
paul at darkrain42.org
Sat Feb 7 23:40:35 EST 2009
-----------------------------------------------------------------
Revision: 9a25f2e3149558150e52b40d5c119965ed617e37
Ancestor: dbb60d7ce8ed23d72d07922aa533c16c3bfe9f38
Author: paul at darkrain42.org
Date: 2009-02-05T07:31:55
Branch: im.pidgin.cpw.darkrain42.xmpp.iq-handlers
URL: http://d.pidgin.im/viewmtn/revision/info/9a25f2e3149558150e52b40d5c119965ed617e37
Modified files:
libpurple/protocols/jabber/iq.c
ChangeLog:
This is shorter and easier to read.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/iq.c 28d53a2b060d030f9233ce4658cbe3283fef9b49
+++ libpurple/protocols/jabber/iq.c 7e028635c104f444561b7832c84f535780a8c463
@@ -304,9 +304,8 @@ void jabber_iq_parse(JabberStream *js, x
* being) sufficient.
*/
for (child = packet->child; child; child = child->next) {
- if (child->type != XMLNODE_TYPE_TAG)
- continue;
- break;
+ if (child->type == XMLNODE_TYPE_TAG)
+ break;
}
type = xmlnode_get_attrib(packet, "type");
More information about the Commits
mailing list