comparison libpurple/protocols/msn/msn.c @ 32679:904686722499

* purple_util_fetch_url_request_len() renamed to purple_util_fetch_url_request(). * purple_util_fetch_url_len() renamed to purple_util_fetch_url().
author andrew.victor@mxit.com
date Sat, 24 Sep 2011 22:09:40 +0000
parents c6943fd38d44
children 0f94ec89f0bc f75041cb3fec
comparison
equal deleted inserted replaced
32678:348a933fed78 32679:904686722499
2740 info2_data->photo_url_text = photo_url_text; 2740 info2_data->photo_url_text = photo_url_text;
2741 2741
2742 /* Try to put the photo in there too, if there's one */ 2742 /* Try to put the photo in there too, if there's one */
2743 if (photo_url_text) 2743 if (photo_url_text)
2744 { 2744 {
2745 url_data = purple_util_fetch_url_len(photo_url_text, FALSE, NULL, FALSE, 2745 url_data = purple_util_fetch_url(photo_url_text, FALSE, NULL, FALSE,
2746 MAX_HTTP_BUDDYICON_BYTES, 2746 MAX_HTTP_BUDDYICON_BYTES,
2747 msn_got_photo, info2_data); 2747 msn_got_photo, info2_data);
2748 session->url_datas = g_slist_prepend(session->url_datas, url_data); 2748 session->url_datas = g_slist_prepend(session->url_datas, url_data);
2749 } 2749 }
2750 else 2750 else
2839 2839
2840 url = g_strdup_printf("%s%s", PROFILE_URL, name); 2840 url = g_strdup_printf("%s%s", PROFILE_URL, name);
2841 2841
2842 url_data = purple_util_fetch_url(url, FALSE, 2842 url_data = purple_util_fetch_url(url, FALSE,
2843 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)", 2843 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)",
2844 TRUE, msn_got_info, data); 2844 TRUE, -1, msn_got_info, data);
2845 session->url_datas = g_slist_prepend(session->url_datas, url_data); 2845 session->url_datas = g_slist_prepend(session->url_datas, url_data);
2846 2846
2847 g_free(url); 2847 g_free(url);
2848 } 2848 }
2849 2849