Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo_aliases.c @ 27071:077eae6f3d84
Update the yahoo prpl to use the new function I added. This should fix the
issue in Adium's ticket 12231.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sat, 30 May 2009 00:58:04 +0000 |
parents | fac90dbe196d |
children | ef5f0cde8d74 |
comparison
equal
deleted
inserted
replaced
27070:bc01e0789404 | 27071:077eae6f3d84 |
---|---|
173 use_whole_url ? "http://" : "", use_whole_url ? webaddress : "", webpage, | 173 use_whole_url ? "http://" : "", use_whole_url ? webaddress : "", webpage, |
174 yd->cookie_t, yd->cookie_y, | 174 yd->cookie_t, yd->cookie_y, |
175 webaddress); | 175 webaddress); |
176 | 176 |
177 /* We have a URL and some header information, let's connect and get some aliases */ | 177 /* We have a URL and some header information, let's connect and get some aliases */ |
178 url_data = purple_util_fetch_url_request(url, use_whole_url, NULL, TRUE, | 178 url_data = purple_util_fetch_url_request_len_with_account(purple_connection_get_account(gc), |
179 request, FALSE, | 179 url, use_whole_url, NULL, TRUE, request, FALSE, -1, |
180 yahoo_fetch_aliases_cb, cb); | 180 yahoo_fetch_aliases_cb, cb); |
181 if (url_data != NULL) | 181 if (url_data != NULL) |
182 yd->url_datas = g_slist_prepend(yd->url_datas, url_data); | 182 yd->url_datas = g_slist_prepend(yd->url_datas, url_data); |
183 | 183 |
184 g_free(webaddress); | 184 g_free(webaddress); |
185 g_free(webpage); | 185 g_free(webpage); |
345 webaddress, | 345 webaddress, |
346 strlen(content), | 346 strlen(content), |
347 content); | 347 content); |
348 | 348 |
349 /* We have a URL and some header information, let's connect and update the alias */ | 349 /* We have a URL and some header information, let's connect and update the alias */ |
350 url_data = purple_util_fetch_url_request(url, use_whole_url, NULL, TRUE, request, FALSE, yahoo_update_alias_cb, cb); | 350 url_data = purple_util_fetch_url_request_len_with_account( |
351 purple_connection_get_account(gc), url, use_whole_url, NULL, TRUE, | |
352 request, FALSE, -1, yahoo_update_alias_cb, cb); | |
351 if (url_data != NULL) | 353 if (url_data != NULL) |
352 yd->url_datas = g_slist_prepend(yd->url_datas, url_data); | 354 yd->url_datas = g_slist_prepend(yd->url_datas, url_data); |
353 | 355 |
354 g_free(webpage); | 356 g_free(webpage); |
355 g_free(webaddress); | 357 g_free(webaddress); |