diff libpurple/protocols/yahoo/yahoo_aliases.c @ 25911:8965e9730987

Manually apply revision 5c5977a6ed3591121ef82ff587586850b9dcd176 here. This updates the yahoo prpl to use the new URL fetching function.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Fri, 19 Jun 2009 20:57:03 +0000
parents e4d738813cd8
children ef5f0cde8d74
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_aliases.c	Fri Jun 19 20:34:02 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo_aliases.c	Fri Jun 19 20:57:03 2009 +0000
@@ -175,9 +175,9 @@
 				  webaddress);
 
 	/* We have a URL and some header information, let's connect and get some aliases  */
-	url_data = purple_util_fetch_url_request(url, use_whole_url, NULL, TRUE,
-						 request, FALSE,
-						 yahoo_fetch_aliases_cb, cb);
+	url_data = purple_util_fetch_url_request_len_with_account(purple_connection_get_account(gc),
+				url, use_whole_url, NULL, TRUE, request, FALSE, -1,
+				yahoo_fetch_aliases_cb, cb);
 	if (url_data != NULL)
 		yd->url_datas = g_slist_prepend(yd->url_datas, url_data);
 
@@ -347,7 +347,9 @@
 				  content);
 
 	/* We have a URL and some header information, let's connect and update the alias  */
-	url_data = purple_util_fetch_url_request(url, use_whole_url, NULL, TRUE, request, FALSE, yahoo_update_alias_cb, cb);
+	url_data = purple_util_fetch_url_request_len_with_account(
+			purple_connection_get_account(gc), url, use_whole_url, NULL, TRUE,
+			request, FALSE, -1, yahoo_update_alias_cb, cb);
 	if (url_data != NULL)
 		yd->url_datas = g_slist_prepend(yd->url_datas, url_data);