# HG changeset patch # User Rob Flynn # Date 1013040823 0 # Node ID b74f4f7165a1c2208b9813854a25291c5887e976 # Parent b5033087c7483471a07df7fc6e8ff6b594f4a0b6 [gaim-migrate @ 2964] Here, Yahoo should work again. Thanks for the quick fix, Sean. We should probably change some things in a bit. I'm tired of people complaining ;-) committer: Tailor Script diff -r b5033087c748 -r b74f4f7165a1 ChangeLog --- a/ChangeLog Sat Feb 02 23:57:15 2002 +0000 +++ b/ChangeLog Thu Feb 07 00:13:43 2002 +0000 @@ -7,6 +7,7 @@ for reminding me of this, Manish Singh) * Updated Simplified Chinese Translation (Thanks Rocky S. Lee) * Updated German Translation (Thanks Karsten Weiss) + * Yahoo! Messenger works again version 0.51 (01/24/2002): * Arrow buttons in log viewer and some other dialogs diff -r b5033087c748 -r b74f4f7165a1 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Sat Feb 02 23:57:15 2002 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Feb 07 00:13:43 2002 +0000 @@ -53,7 +53,7 @@ #define USEROPT_MAIL 0 #define USEROPT_PAGERHOST 3 -#define YAHOO_PAGER_HOST "scs.yahoo.com" +#define YAHOO_PAGER_HOST "cs.yahoo.com" #define USEROPT_PAGERPORT 4 #define YAHOO_PAGER_PORT 5050 @@ -405,6 +405,12 @@ break; case 60: /* no clue */ break; + case 16: /* Maybe this does more. Maybe it doesn't. */ + do_error_dialog("This version of the Yahoo! Messenger plugin is no longer" + "being supported. The latest version of Gaim is available" + "at " WEBSITE ".\n\nYou may be disconnected shortly.", + "Gaim -- Yahoo! Error"); + break; default: debug_printf("unknown status key %d\n", pair->key); break; @@ -712,7 +718,16 @@ yd->fd = -1; yd->hash = g_hash_table_new(g_str_hash, g_str_equal); - if (proxy_connect(user->proto_opt[USEROPT_PAGERHOST][0] ? + if (!g_strncasecmp(user->proto_opt[USEROPT_PAGERHOST], "scs.yahoo.com", strlen("scs.yahoo.com"))) { + /* As of this morning, Yahoo is no longer supporting its server at scs.yahoo.com + * I don't like to edit the preferences in a prpl, but we'll keep this here + * for a while until everybody's happy again. -5 Feb 2002*/ + debug_printf("Setting new Yahoo! server.\n"); + g_snprintf(user->proto_opt[USEROPT_PAGERHOST], strlen("cs.yahoo.com") + 1, "cs.yahoo.com"); + save_prefs(); + } + + if (proxy_connect(user->proto_opt[USEROPT_PAGERHOST][0] ? user->proto_opt[USEROPT_PAGERHOST] : YAHOO_PAGER_HOST, user->proto_opt[USEROPT_PAGERPORT][0] ? atoi(user->proto_opt[USEROPT_PAGERPORT]) : YAHOO_PAGER_PORT,