# HG changeset patch # User Paul Aurich # Date 1240982502 0 # Node ID b1f8cebaab1727278f062d404b1ac6f65bd6a12c # Parent 5aabe95773dd0bc7b49e3f409787ff679af686cb Skip iterating non-node children; thanks to Marcus for crashing me. diff -r 5aabe95773dd -r b1f8cebaab17 libpurple/protocols/jabber/caps.c --- a/libpurple/protocols/jabber/caps.c Wed Apr 29 02:12:19 2009 +0000 +++ b/libpurple/protocols/jabber/caps.c Wed Apr 29 05:21:42 2009 +0000 @@ -720,6 +720,8 @@ info = g_new0(JabberCapsClientInfo, 1); for(child = query->child; child; child = child->next) { + if (child->type != XMLNODE_TYPE_TAG) + continue; if (!strcmp(child->name,"identity")) { /* parse identity */ const char *category = xmlnode_get_attrib(child, "category");