im.pidgin.cpw.khc.msnp14.soap: 8b98876f03b683ae6805d673e713f30f16b7f6e9

typ0 at pidgin.im typ0 at pidgin.im
Sat Nov 3 16:20:42 EDT 2007


-----------------------------------------------------------------
Revision: 8b98876f03b683ae6805d673e713f30f16b7f6e9
Ancestor: c0e79d15a4fe4c5b0129fcae5060754b25f72a56
Author: typ0 at pidgin.im
Date: 2007-10-29T02:12:15
Branch: im.pidgin.cpw.khc.msnp14.soap

Modified files:
        libpurple/protocols/msn/contact.c

ChangeLog: 

Fix some typos

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/contact.c	36d57f48fa83dc455d4e08aef7ed46648dc999f6
+++ libpurple/protocols/msn/contact.c	5260007b4ce8fdcda8a7904ac8eeba686f52c8ae
@@ -258,11 +258,12 @@ msn_parse_each_member(MsnSession *sessio
 	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);
@@ -304,7 +305,7 @@ msn_parse_each_service(MsnSession *sessi
 				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)) {


More information about the Commits mailing list