pidgin: 602ee340: Update the Pager server at login to the ...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed Jun 24 22:25:29 EDT 2009


-----------------------------------------------------------------
Revision: 602ee3404d02198f2a1430c98ac52ae487a0729c
Ancestor: b4ecb8b0227932d5f37998a7b3b36851ee5c5401
Author: darkrain42 at pidgin.im
Date: 2009-06-25T02:23:40
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/602ee3404d02198f2a1430c98ac52ae487a0729c

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

ChangeLog: 

Update the Pager server at login to the new default if "" or old default.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	11185f50aa12b2ed97585f6d7769d14f0d13887e
+++ libpurple/protocols/yahoo/yahoo.c	dff59fca73dcd8b459863fd9ed6510acef1420eb
@@ -3346,7 +3346,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