im.pidgin.pidgin: 84fe25ab50712e26d693641a6248e646746904d9

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


-----------------------------------------------------------------
Revision: 84fe25ab50712e26d693641a6248e646746904d9
Ancestor: 4ce909291d6a5f3740e648dcfde56ae73badd206
Author: typ0 at pidgin.im
Date: 2007-11-03T20:12:04
Branch: im.pidgin.pidgin

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

ChangeLog: 

Fix some typos

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/contact.c	0751424f6281605d99e0185f1950543dfd031516
+++ libpurple/protocols/msn/contact.c	0fa28e10b88d559a8804fad3c41bc2372272512f
@@ -236,11 +236,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);
@@ -282,7 +283,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