Mercurial > pidgin
comparison libpurple/protocols/yahoo/yahoo.c @ 27172:48df71b5cfd1
Update the Pager server at login to the new default if "" or old default.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 25 Jun 2009 02:23:40 +0000 |
parents | fa2fb12b0fcc |
children | 52afd38e64d4 |
comparison
equal
deleted
inserted
replaced
27171:bd47fd3f3b6b | 27172:48df71b5cfd1 |
---|---|
3344 { | 3344 { |
3345 const char *server; | 3345 const char *server; |
3346 | 3346 |
3347 server = purple_account_get_string(account, "server", YAHOO_PAGER_HOST); | 3347 server = purple_account_get_string(account, "server", YAHOO_PAGER_HOST); |
3348 | 3348 |
3349 if (strcmp(server, "scs.yahoo.com") == 0) | 3349 if (*server == '\0' || g_str_equal(server, "scs.yahoo.com") || |
3350 g_str_equal(server, "scs.msg.yahoo.com")) | |
3350 purple_account_set_string(account, "server", YAHOO_PAGER_HOST); | 3351 purple_account_set_string(account, "server", YAHOO_PAGER_HOST); |
3351 } | 3352 } |
3352 | 3353 |
3353 static void yahoo_picture_check(PurpleAccount *account) | 3354 static void yahoo_picture_check(PurpleAccount *account) |
3354 { | 3355 { |