/soc/2015/jgeboski/facebook: 9e295f087bf6: facebook: fixed impro...
James Geboski
jgeboski at gmail.com
Wed Jun 24 18:18:11 EDT 2015
Changeset: 9e295f087bf698b6bc77492c10679c35ecadff11
Author: James Geboski <jgeboski at gmail.com>
Date: 2015-06-24 18:13 -0400
Branch: facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/9e295f087bf6
Description:
facebook: fixed improper data to fb_cb_api_error()
diffstat:
libpurple/protocols/facebook/facebook.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff --git a/libpurple/protocols/facebook/facebook.c b/libpurple/protocols/facebook/facebook.c
--- a/libpurple/protocols/facebook/facebook.c
+++ b/libpurple/protocols/facebook/facebook.c
@@ -71,6 +71,7 @@ fb_cb_icon_fetch(PurpleHttpConnection *c
const gchar *name;
const gchar *str;
FbApi *api;
+ FbData *fata;
FbHttpParams *params;
GError *err = NULL;
gsize size;
@@ -82,10 +83,11 @@ fb_cb_icon_fetch(PurpleHttpConnection *c
acct = purple_buddy_get_account(bdy);
gc = purple_account_get_connection(acct);
- api = purple_connection_get_protocol_data(gc);
+ fata = purple_connection_get_protocol_data(gc);
+ api = fb_data_get_api(fata);
if (!fb_http_error_chk(res, &err)) {
- fb_cb_api_error(api, err, gc);
+ fb_cb_api_error(api, err, fata);
g_error_free(err);
return;
}
More information about the Commits
mailing list