diff options
author | Paul Aurich <darkrain42@pidgin.im> | 2009-02-05 07:31:55 +0000 |
---|---|---|
committer | Paul Aurich <darkrain42@pidgin.im> | 2009-02-05 07:31:55 +0000 |
commit | c479778e4df20a03e87a8bdd770c9d036dce6379 (patch) | |
tree | 25a859802d4e2ff515e85bc85f222a9465d981d7 | |
parent | 606373d166f3b5e279d928805591430fec2cc93d (diff) | |
download | pidgin-c479778e4df20a03e87a8bdd770c9d036dce6379.tar.gz |
This is shorter and easier to read.
-rw-r--r-- | libpurple/protocols/jabber/iq.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libpurple/protocols/jabber/iq.c b/libpurple/protocols/jabber/iq.c index 0e5ecb25aa..927e33fd3c 100644 --- a/libpurple/protocols/jabber/iq.c +++ b/libpurple/protocols/jabber/iq.c @@ -304,9 +304,8 @@ void jabber_iq_parse(JabberStream *js, xmlnode *packet) * 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"); |