Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 7883:30ed1fc892aa
[gaim-migrate @ 8537]
" This changes the server define for topic complience,
and changes the setting for them." --Tim Ringenbach (marv_sf)
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Mon, 15 Dec 2003 01:47:29 +0000 |
| parents | cbfbed263d00 |
| children | 0d7b5d7cb5c7 |
line wrap: on
line diff
--- 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),
