pidgin.next.minor: f2edeb8a: Compile!

rlaager at pidgin.im rlaager at pidgin.im
Fri Jan 2 18:07:01 EST 2009


-----------------------------------------------------------------
Revision: f2edeb8a92b953211d754fe344f943c3c98d9068
Ancestor: bcdfd362c41aa112bb4a5c5801a35194d9a14834
Author: rlaager at pidgin.im
Date: 2009-01-02T22:51:51
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/f2edeb8a92b953211d754fe344f943c3c98d9068

Modified files:
        libpurple/protocols/myspace/myspace.c

ChangeLog: 

Compile!

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/myspace.c	ae14a139c4c50a9e1758875e0365d250fc105a87
+++ libpurple/protocols/myspace/myspace.c	690625494b9d1ec235d978cd15f74c74fbfe928f
@@ -2691,6 +2691,13 @@ msim_add_buddy(PurpleConnection *gc, Pur
 	msim_update_blocklist_for_buddy(session, name, TRUE, FALSE);
 }
 
+static void
+msim_buddy_free(PurpleBuddy *buddy)
+{
+	msim_user_free(purple_buddy_get_protocol_data(buddy));
+	purple_buddy_set_protocol_data(buddy, NULL);
+}
+
 /**
  * Remove a buddy from the user's buddy list.
  */
@@ -2742,7 +2749,7 @@ msim_remove_buddy(PurpleConnection *gc, 
 	 * doesn't seem like it would be necessary, but the official client
 	 * does it)
 	 */
-	if (!msim_update_blocklist_for_buddy(session, name, FALSE, FALSE))
+	if (!msim_update_blocklist_for_buddy(session, name, FALSE, FALSE)) {
 		purple_notify_error(NULL, NULL,
 				_("Failed to remove buddy"), _("blocklist command failed"));
 		return;
@@ -2837,13 +2844,6 @@ msim_rem_deny(PurpleConnection *gc, cons
 	msim_update_blocklist_for_buddy(session, name, FALSE, FALSE);
 }
 
-static void
-msim_buddy_free(PurpleBuddy *buddy)
-{
-	msim_user_free(purple_buddy_get_protocol_data(buddy));
-	purple_buddy_set_protocol_data(buddy, NULL);
-}
-
 /**
  * Returns a string of a username in canonical form. Basically removes all the
  * spaces, lowercases the string, and looks up user IDs to usernames.


More information about the Commits mailing list