Update of /cvsroot/gaim/gaim/src/protocols/yahoo
In directory usw-pr-cvs1:/tmp/cvs-serv14921/src/protocols/yahoo
Modified Files:
yahoo.c
Log Message:
Remember when I added code that forced the server to cs.yahoo.com from scs.yahoo.com?
This changes it back.
Index: yahoo.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- yahoo.c 18 Apr 2002 23:49:42 -0000 1.42
+++ yahoo.c 1 May 2002 04:26:01 -0000 1.43
@@ -974,15 +974,14 @@
yd->hash = g_hash_table_new(g_str_hash, g_str_equal);
yd->games = g_hash_table_new(g_str_hash, g_str_equal);
-#if 0
- if (!g_strncasecmp(user->proto_opt[USEROPT_PAGERHOST], "scs.yahoo.com", strlen("scs.yahoo.com"))) {
- /* Figured out the new auth method */
+
+ if (!g_strncasecmp(user->proto_opt[USEROPT_PAGERHOST], "cs.yahoo.com", strlen("cs.yahoo.com"))) {
+ /* Figured out the new auth method -- cs.yahoo.com likes to disconnect on buddy remove and add now */
debug_printf("Setting new Yahoo! server.\n");
- g_snprintf(user->proto_opt[USEROPT_PAGERHOST], strlen("cs.yahoo.com") + 1, "cs.yahoo.com");
+ g_snprintf(user->proto_opt[USEROPT_PAGERHOST], strlen("scs.yahoo.com") + 1, "scs.yahoo.com");
save_prefs();
}
-#endif /* 0 */
if (proxy_connect(user->proto_opt[USEROPT_PAGERHOST][0] ?
user->proto_opt[USEROPT_PAGERHOST] : YAHOO_PAGER_HOST,
|