Mercurial > pidgin.yaz
changeset 21127:d0676f639d5a
Fix some typos
author | Carlos Silva <typ0@pidgin.im> |
---|---|
date | Sat, 03 Nov 2007 20:12:04 +0000 |
parents | 35b4f1dc4c8d |
children | 323dfb9642e0 |
files | libpurple/protocols/msn/contact.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c Sat Nov 03 17:52:28 2007 +0000 +++ b/libpurple/protocols/msn/contact.c Sat Nov 03 20:12:04 2007 +0000 @@ -236,11 +236,12 @@ MsnListId list) { char *passport = xmlnode_get_data(xmlnode_get_child(member, node)); - char *type = xmlnode_get_data(xmlnode_get_child(member, "type")); + char *type = xmlnode_get_data(xmlnode_get_child(member, "Type")); char *member_id = xmlnode_get_data(xmlnode_get_child(member, "MembershipId")); MsnUser *user = msn_userlist_find_add_user(session->userlist, passport, NULL); - purple_debug_info("msncl","%s name: %s, Type: %s\n", node, passport, type); + purple_debug_info("msncl","%s name: %s, Type: %s, MembershipID: %s\n", + node, passport, type, member_id == NULL ? "(null)" : member_id); if (member_id) { user->membership_id[list] = atoi(member_id); @@ -282,7 +283,7 @@ xmlnode *member; purple_debug_info("msncl", "MemberRole role: %s, list: %d\n", - role, list); + role_str, list); for (member = msn_soap_xml_get(membership, "Members/Member"); member; member = xmlnode_get_next_twin(member)) {