libpurple/protocols/yahoo/yahoo_aliases.c

changeset 22622
1ecb840b5101
parent 22462
aebf8eeaa9f2
child 22966
35fe689e09a6
equal deleted inserted replaced
22621:552a6fb4de03 22622:1ecb840b5101
77 77
78 if (contacts == NULL) { 78 if (contacts == NULL) {
79 purple_debug_error("yahoo_aliases","Badly formed XML\n"); 79 purple_debug_error("yahoo_aliases","Badly formed XML\n");
80 return; 80 return;
81 } 81 }
82 purple_debug_info("yahoo", "Fetched %i bytes of alias data\n", len); 82 purple_debug_info("yahoo", "Fetched %" G_GSIZE_FORMAT
83 " bytes of alias data\n", len);
83 84
84 /* Loop around and around and around until we have gone through all the received aliases */ 85 /* Loop around and around and around until we have gone through all the received aliases */
85 for(item = xmlnode_get_child(contacts, "ct"); item; item = xmlnode_get_next_twin(item)) { 86 for(item = xmlnode_get_child(contacts, "ct"); item; item = xmlnode_get_next_twin(item)) {
86 /* Yahoo replies with two types of contact (ct) record, we are only interested in the alias ones */ 87 /* Yahoo replies with two types of contact (ct) record, we are only interested in the alias ones */
87 if ((yid = xmlnode_get_attrib(item, "yi"))) { 88 if ((yid = xmlnode_get_attrib(item, "yi"))) {

mercurial