diff src/protocols/msn/session.c @ 19785:852b32710df0

[gaim-migrate @ 16507] add the contact list retrieve and dump contact list to server currently can do chanllenge successfully But can't get the buddy list done by MaYuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Mon, 17 Jul 2006 12:22:37 +0000
parents bc30c6270d9f
children 23258253c7a0
line wrap: on
line diff
--- a/src/protocols/msn/session.c	Sun Jul 09 16:48:25 2006 +0000
+++ b/src/protocols/msn/session.c	Mon Jul 17 12:22:37 2006 +0000
@@ -252,18 +252,15 @@
 
 					remote_user = msn_userlist_find_user(session->userlist, b->name);
 
-					if ((remote_user != NULL) && (remote_user->list_op & MSN_LIST_FL_OP))
-					{
+					if ((remote_user != NULL) && (remote_user->list_op & MSN_LIST_FL_OP)){
 						int group_id;
 						GList *l;
 
 						group_id = msn_userlist_find_group_id(remote_user->userlist,
 								group_name);
 
-						for (l = remote_user->group_ids; l != NULL; l = l->next)
-						{
-							if (group_id == GPOINTER_TO_INT(l->data))
-							{
+						for (l = remote_user->group_ids; l != NULL; l = l->next){
+							if (group_id == GPOINTER_TO_INT(l->data)){
 								found = TRUE;
 								break;
 							}
@@ -271,8 +268,7 @@
 
 					}
 
-					if (!found)
-					{
+					if (!found){
 						/* The user was not on the server list or not in that group
 						 * on the server list */
 						msn_show_sync_issue(session, b->name, group_name);
@@ -407,3 +403,4 @@
 	/* Sync users */
 	msn_session_sync_users(session);
 }
+