--- a/libpurple/protocols/jabber/iq.c Thu Feb 05 00:59:58 2009 +0000 +++ b/libpurple/protocols/jabber/iq.c Thu Feb 05 07:31:55 2009 +0000 @@ -304,9 +304,8 @@ * 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");