comparison libpurple/protocols/oscar/oscarcommon.h @ 25246:7f0321038c53

Implement a sane mechanism for switching an OSCAR account to SSL. The user checks the box and, if their login server is one of the default ones used in libpurple, change it to the SSL server. If the user unchecks the box, change it back. I'm not happy with this, but it works. It might be sensible to adjust our connecting server and not change the account option)
author Paul Aurich <paul@darkrain42.org>
date Thu, 18 Dec 2008 05:27:39 +0000
parents ea70a446dde4
children 7054f810b0f9 5391094529c6
comparison
equal deleted inserted replaced
25245:d265a11c6446 25246:7f0321038c53
31 #include "notify.h" 31 #include "notify.h"
32 32
33 #define OSCAR_DEFAULT_LOGIN_SERVER "login.messaging.aol.com" 33 #define OSCAR_DEFAULT_LOGIN_SERVER "login.messaging.aol.com"
34 #define OSCAR_DEFAULT_LOGIN_PORT 5190 34 #define OSCAR_DEFAULT_LOGIN_PORT 5190
35 #define OSCAR_DEFAULT_SSL_LOGIN_SERVER "slogin.oscar.aol.com" 35 #define OSCAR_DEFAULT_SSL_LOGIN_SERVER "slogin.oscar.aol.com"
36 #define OSCAR_OLD_LOGIN_SERVER "login.oscar.aol.com"
36 #ifndef _WIN32 37 #ifndef _WIN32
37 #define OSCAR_DEFAULT_CUSTOM_ENCODING "ISO-8859-1" 38 #define OSCAR_DEFAULT_CUSTOM_ENCODING "ISO-8859-1"
38 #else 39 #else
39 #define OSCAR_DEFAULT_CUSTOM_ENCODING oscar_get_locale_charset() 40 #define OSCAR_DEFAULT_CUSTOM_ENCODING oscar_get_locale_charset()
40 #endif 41 #endif