Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/disco.c @ 30846:7c871249318b
Fix some "Dead nested assignment"s and then kill off some useless
variables related to them.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 14 Aug 2010 05:17:38 +0000 |
parents | 3e5bb4e2334c |
children | 25e200cb3532 |
comparison
equal
deleted
inserted
replaced
30845:41906308232b | 30846:7c871249318b |
---|---|
602 if(!(jid = xmlnode_get_attrib(child, "jid"))) | 602 if(!(jid = xmlnode_get_attrib(child, "jid"))) |
603 continue; | 603 continue; |
604 | 604 |
605 /* we don't actually care about the specific nodes, | 605 /* we don't actually care about the specific nodes, |
606 * so we won't query them */ | 606 * so we won't query them */ |
607 if((node = xmlnode_get_attrib(child, "node"))) | 607 if(xmlnode_get_attrib(child, "node") != NULL) |
608 continue; | 608 continue; |
609 | 609 |
610 iq = jabber_iq_new_query(js, JABBER_IQ_GET, NS_DISCO_INFO); | 610 iq = jabber_iq_new_query(js, JABBER_IQ_GET, NS_DISCO_INFO); |
611 xmlnode_set_attrib(iq->node, "to", jid); | 611 xmlnode_set_attrib(iq->node, "to", jid); |
612 jabber_iq_set_callback(iq, jabber_disco_info_cb, NULL); | 612 jabber_iq_set_callback(iq, jabber_disco_info_cb, NULL); |