diff libpurple/protocols/jabber/disco.c @ 30476:25e200cb3532

propagate from branch 'im.pidgin.pidgin' (head dca20e09164518b0f7a773edd7e9649f41d8873d) to branch 'im.pidgin.cpw.malu.xmpp.google_refactor' (head 7823c556f2d1bbca43f5ef9f0fea30cabc5d313f)
author Marcus Lundblad <ml@update.uu.se>
date Tue, 31 Aug 2010 18:28:10 +0000
parents ae615b3d3e47 7c871249318b
children 718c16d7c6c9
line wrap: on
line diff
--- a/libpurple/protocols/jabber/disco.c	Fri Apr 09 22:14:51 2010 +0000
+++ b/libpurple/protocols/jabber/disco.c	Tue Aug 31 18:28:10 2010 +0000
@@ -606,7 +606,7 @@
 
 		/* we don't actually care about the specific nodes,
 		 * so we won't query them */
-		if((node = xmlnode_get_attrib(child, "node")))
+		if(xmlnode_get_attrib(child, "node") != NULL)
 			continue;
 
 		iq = jabber_iq_new_query(js, JABBER_IQ_GET, NS_DISCO_INFO);