comparison 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
comparison
equal deleted inserted replaced
30475:c44ec533a48c 30476:25e200cb3532
604 if(!(jid = xmlnode_get_attrib(child, "jid"))) 604 if(!(jid = xmlnode_get_attrib(child, "jid")))
605 continue; 605 continue;
606 606
607 /* we don't actually care about the specific nodes, 607 /* we don't actually care about the specific nodes,
608 * so we won't query them */ 608 * so we won't query them */
609 if((node = xmlnode_get_attrib(child, "node"))) 609 if(xmlnode_get_attrib(child, "node") != NULL)
610 continue; 610 continue;
611 611
612 iq = jabber_iq_new_query(js, JABBER_IQ_GET, NS_DISCO_INFO); 612 iq = jabber_iq_new_query(js, JABBER_IQ_GET, NS_DISCO_INFO);
613 xmlnode_set_attrib(iq->node, "to", jid); 613 xmlnode_set_attrib(iq->node, "to", jid);
614 jabber_iq_set_callback(iq, jabber_disco_info_cb, NULL); 614 jabber_iq_set_callback(iq, jabber_disco_info_cb, NULL);