diff libpurple/protocols/yahoo/yahoo_aliases.c @ 25907:e4d738813cd8

Backport the parts of b859960a4a19f57f20db0536c1815a6d79e08e36 that apply to this branch, and also apply 162a734100aafd62b7338baa81b04510c6b66921.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Fri, 19 Jun 2009 01:18:18 +0000
parents c0226e400836
children 8965e9730987
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_aliases.c	Fri Jun 19 01:07:51 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo_aliases.c	Fri Jun 19 01:18:18 2009 +0000
@@ -166,7 +166,7 @@
 	url = yd->jp ? YAHOOJP_ALIAS_FETCH_URL : YAHOO_ALIAS_FETCH_URL;
 	purple_url_parse(url, &webaddress, NULL, &webpage, NULL, NULL);
 	request = g_strdup_printf("GET %s%s/%s HTTP/1.1\r\n"
-				 "User-Agent: Mozilla/4.0 (compatible; MSIE 5.5)\r\n"
+				 "User-Agent: " YAHOO_CLIENT_USERAGENT "\r\n"
 				 "Cookie: T=%s; Y=%s\r\n"
 				 "Host: %s\r\n"
 				 "Cache-Control: no-cache\r\n\r\n",
@@ -334,7 +334,7 @@
 	}
 
 	request = g_strdup_printf("POST %s%s/%s HTTP/1.1\r\n"
-				  "User-Agent: Mozilla/4.0 (compatible; MSIE 5.5)\r\n"
+				  "User-Agent: " YAHOO_CLIENT_USERAGENT "\r\n"
 				  "Cookie: T=%s; Y=%s\r\n"
 				  "Host: %s\r\n"
 				  "Content-Length: %" G_GSIZE_FORMAT "\r\n"