cpw.qulogic.msn: 5033650a: disapproval of revision '075bff91d9cbcfd...
qulogic at pidgin.im
qulogic at pidgin.im
Tue Jul 8 22:26:05 EDT 2008
-----------------------------------------------------------------
Revision: 5033650a1e57437cc3f2894adc41935daa6b3269
Ancestor: 075bff91d9cbcfd6f59c270802c5bffeb98c3b50
Author: qulogic at pidgin.im
Date: 2008-07-09T00:27:44
Branch: im.pidgin.cpw.qulogic.msn
URL: http://d.pidgin.im/viewmtn/revision/info/5033650a1e57437cc3f2894adc41935daa6b3269
Modified files:
libpurple/protocols/msn/slp.c
ChangeLog:
disapproval of revision '075bff91d9cbcfd6f59c270802c5bffeb98c3b50'
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slp.c bf3995143d8f9f3306c8a844a3ee77a5a17fc41d
+++ libpurple/protocols/msn/slp.c af32d7e2fbff833dd05a1408d434ac23302f6f78
@@ -1067,21 +1067,6 @@ static void
}
static void
-next_buddy_request(MsnUserList *userlist)
-{
- /* Free one window slot */
- userlist->buddy_icon_window++;
-
-#ifdef MSN_DEBUG_UD
- purple_debug_info("msn", "request_user_display(): buddy_icon_window++ yields =%d\n",
- userlist->buddy_icon_window);
-#endif
-
- /* Request the next one */
- msn_release_buddy_icon_request(userlist);
-}
-
-static void
request_user_display(MsnUser *user)
{
PurpleAccount *account;
@@ -1097,19 +1082,6 @@ request_user_display(MsnUser *user)
obj = msn_user_get_object(user);
- /* Changed while in the queue. */
- if (obj == NULL) {
- purple_buddy_icons_set_for_user(account, user->passport, NULL, 0, NULL);
- next_buddy_request(session->userlist);
- return;
- }
-
- /* The user went offline. */
- if (user->status == NULL) {
- next_buddy_request(session->userlist);
- return;
- }
-
info = msn_object_get_sha1(obj);
if (g_ascii_strcasecmp(user->passport,
@@ -1139,7 +1111,14 @@ request_user_display(MsnUser *user)
purple_buddy_icons_set_for_user(account, user->passport, g_memdup(data, len), len, info);
- next_buddy_request(session->userlist);
+ /* Free one window slot */
+ session->userlist->buddy_icon_window++;
+
+#ifdef MSN_DEBUG_UD
+ purple_debug_info("msn", "request_user_display(): buddy_icon_window++ yields =%d\n",
+ session->userlist->buddy_icon_window);
+#endif
+
+ msn_release_buddy_icon_request(session->userlist);
}
}
-
More information about the Commits
mailing list