libpurple/protocols/yahoo/yahoo_profile.c

branch
soc.2013.gobjectification
changeset 34728
8efd73063ecf
parent 34717
b3e588adef5a
child 34870
bc475f2f60d0
--- 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;

mercurial