# HG changeset patch # User Luke Schierer # Date 1071452849 0 # Node ID 30ed1fc892aa9c3c8d62047c9742eac6ff915fb9 # Parent b4c2f92d4d247b418fb6f455c3221b2eb7534425 [gaim-migrate @ 8537] " This changes the server define for topic complience, and changes the setting for them." --Tim Ringenbach (marv_sf) committer: Tailor Script diff -r b4c2f92d4d24 -r 30ed1fc892aa src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Mon Dec 15 01:04:51 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Mon Dec 15 01:47:29 2003 +0000 @@ -2048,6 +2048,18 @@ #endif /* YAHOO_WEBMESSENGER */ +#ifndef YAHOO_WEBMESSENGER +static void yahoo_server_check(GaimAccount *account) +{ + const char *server; + + server = gaim_account_get_string(account, "server", YAHOO_PAGER_HOST); + + if (strcmp(server, "scs.yahoo.com") == 0) + gaim_account_set_string(account, "server", YAHOO_PAGER_HOST); +} +#endif + static void yahoo_login(GaimAccount *account) { GaimConnection *gc = gaim_account_get_connection(account); struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1); @@ -2063,6 +2075,8 @@ #ifndef YAHOO_WEBMESSENGER + yahoo_server_check(account); + if (gaim_proxy_connect(account, gaim_account_get_string(account, "server", YAHOO_PAGER_HOST), gaim_account_get_int(account, "port", YAHOO_PAGER_PORT), diff -r b4c2f92d4d24 -r 30ed1fc892aa src/protocols/yahoo/yahoo.h --- a/src/protocols/yahoo/yahoo.h Mon Dec 15 01:04:51 2003 +0000 +++ b/src/protocols/yahoo/yahoo.h Mon Dec 15 01:47:29 2003 +0000 @@ -25,7 +25,7 @@ #include "prpl.h" -#define YAHOO_PAGER_HOST "scs.yahoo.com" +#define YAHOO_PAGER_HOST "scs.msg.yahoo.com" #define YAHOO_PAGER_PORT 5050 #define YAHOO_PROFILE_URL "http://profiles.yahoo.com/" #define YAHOO_XFER_HOST "filetransfer.msg.yahoo.com"