--- a/libpurple/protocols/yahoo/yahoo_profile.c Tue Jul 09 15:42:36 2013 +0530 +++ b/libpurple/protocols/yahoo/yahoo_profile.c Tue Jul 09 15:48:17 2013 +0530 @@ -696,7 +696,7 @@ PurpleBuddy *b; YahooFriend *f; - b = purple_find_buddy(purple_connection_get_account(info_data->gc), + b = purple_blist_find_buddy(purple_connection_get_account(info_data->gc), info_data->name); if (b) { @@ -1199,7 +1199,7 @@ "or format that is not supported at this time."); } else if (profile_state == PROFILE_STATE_NOT_FOUND) { - PurpleBuddy *b = purple_find_buddy + PurpleBuddy *b = purple_blist_find_buddy (purple_connection_get_account(info_data->gc), info_data->name); YahooFriend *f = NULL;