pidgin.2.5.8: aaad3f3d: *** Plucked rev 4e5a642f1af4cb2fa6cd4959...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Fri Jun 26 20:15:40 EDT 2009


-----------------------------------------------------------------
Revision: aaad3f3d0231ffa67d159a92a8a0c02ed7c7a29c
Ancestor: 15280e1a15775de361a2cf2724fea2ce30ee08e2
Author: rekkanoryo at pidgin.im
Date: 2009-06-27T00:00:37
Branch: im.pidgin.pidgin.2.5.8
URL: http://d.pidgin.im/viewmtn/revision/info/aaad3f3d0231ffa67d159a92a8a0c02ed7c7a29c

Modified files:
        libpurple/protocols/yahoo/yahoo.h
        libpurple/protocols/yahoo/yahoo_picture.c

ChangeLog: 

*** Plucked rev 4e5a642f1af4cb2fa6cd49596c19d7f99312fc0b (rekkanoryo at pidgin.im):
Mimic the official client's HTTP User-Agent strings.

Also fixed a debug message missing a trailing \n.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.h	d552f88880959cd5c4f3045b590ba8537a1e2b73
+++ libpurple/protocols/yahoo/yahoo.h	38a6ac8aaada556549e629e5821c3ad850d98bd5
@@ -85,7 +85,7 @@
 #define YAHOOJP_CLIENT_VERSION "9.0.0.2152"
 
 
-#define YAHOO_CLIENT_USERAGENT "Mozilla/4.0 (compatible; MSIE 5.5)"
+#define YAHOO_CLIENT_USERAGENT "Mozilla/5.0"
 
 /* Index into attention types list. */
 #define YAHOO_BUZZ 0
============================================================
--- libpurple/protocols/yahoo/yahoo_picture.c	1175aaec045d57e6eafd345630e58242f115e48b
+++ libpurple/protocols/yahoo/yahoo_picture.c	812ac9b1479f7b14e70e1041b286705c74ba1217
@@ -139,7 +139,7 @@ void yahoo_process_picture(PurpleConnect
 		data->checksum = checksum;
 		/* TODO: Does this need to be MSIE 5.0? */
 		url_data = purple_util_fetch_url(url, use_whole_url,
-				"Mozilla/4.0 (compatible; MSIE 5.0)", FALSE,
+				"Mozilla/4.0 (compatible; MSIE 5.5)", FALSE,
 				yahoo_fetch_picture_cb, data);
 		if (url_data != NULL) {
 			yd = gc->proto_data;
@@ -573,7 +573,7 @@ static int yahoo_buddy_icon_calculate_ch
 		checksum &= ~g;
 	}
 
-	purple_debug_misc("yahoo", "Calculated buddy icon checksum: %d", checksum);
+	purple_debug_misc("yahoo", "Calculated buddy icon checksum: %d"\n, checksum);
 
 	return checksum;
 } 


More information about the Commits mailing list