pidgin.2.5.8: 6acc4d81: *** Plucked rev 602ee3404d02198f2a1430c9...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Thu Jun 25 20:30:27 EDT 2009


-----------------------------------------------------------------
Revision: 6acc4d810a0c3c6a9c922714d131a045ba589b9a
Ancestor: 6aecd5e7eb4b4ced28c1c4c5e50386030abfe1bd
Author: rekkanoryo at pidgin.im
Date: 2009-06-26T00:25:56
Branch: im.pidgin.pidgin.2.5.8
URL: http://d.pidgin.im/viewmtn/revision/info/6acc4d810a0c3c6a9c922714d131a045ba589b9a

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

ChangeLog: 

*** Plucked rev 602ee3404d02198f2a1430c98ac52ae487a0729c (darkrain42 at pidgin.im):
Update the Pager server at login to the new default if "" or old default.


-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	2df1b3d38014a3e70c54e2a6e1e6fb39816bdbc4
+++ libpurple/protocols/yahoo/yahoo.c	d024cadc2b6baa33e9f462384dffac20ad308cf8
@@ -2643,7 +2643,8 @@ static void yahoo_server_check(PurpleAcc
 
 	server = purple_account_get_string(account, "server", YAHOO_PAGER_HOST);
 
-	if (strcmp(server, "scs.yahoo.com") == 0)
+	if (*server == '\0' || g_str_equal(server, "scs.yahoo.com") ||
+			g_str_equal(server, "scs.msg.yahoo.com"))
 		purple_account_set_string(account, "server", YAHOO_PAGER_HOST);
 }
 


More information about the Commits mailing list