| 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"))) { |