diff libpurple/protocols/msn/userlist.c @ 20471:530a92d50c5e

Misc cleanups, better error handling, and print the Address Book received from the server in a human readable way.
author Carlos Silva <typ0@pidgin.im>
date Tue, 17 Jul 2007 00:35:50 +0000
parents 86da6ab1f612
children 9a2a4a0c0003
line wrap: on
line diff
--- a/libpurple/protocols/msn/userlist.c	Mon Jul 16 23:06:21 2007 +0000
+++ b/libpurple/protocols/msn/userlist.c	Tue Jul 17 00:35:50 2007 +0000
@@ -205,7 +205,7 @@
 	const char *passport;
 	const char *friendly;
 
-	purple_debug_info("MaYuan","got add user...\n");
+	purple_debug_info("MSNP14","got add user...\n");
 	account = session->account;
 
 	passport = msn_user_get_passport(user);
@@ -350,8 +350,6 @@
 	const char *passport;
 	const char *store;
 
-	purple_debug_info("::","msn_got_lst_user()\n");
-
 	account = session->account;
 	gc = purple_account_get_connection(account);
 
@@ -661,7 +659,7 @@
 	const char *list;
 	const char *store_name;
 
-	purple_debug_info("MaYuan", "userlist add buddy,name:{%s},group:{%s}\n",who ,group_name);
+	purple_debug_info("MSNP14", "userlist add buddy,name:{%s},group:{%s}\n",who ,group_name);
 	group_id = NULL;
 
 	if (!purple_email_is_valid(who))
@@ -715,7 +713,7 @@
 	/* Then request the add to the server. */
 	list = lists[list_id];
 
-	purple_debug_info("MaYuan", "add user:{%s} to group id {%s}\n",store_name ,group_id);
+	purple_debug_info("MSNP14", "add user:{%s} to group id {%s}\n",store_name ,group_id);
 	msn_add_contact(userlist->session->contact,who,group_id);
 	msn_notification_add_buddy(userlist->session->notification, list, who,
 							   store_name, group_id);