pidgin: b21beb71: Properly handle an AIM login server of l...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Tue Nov 23 00:35:47 EST 2010


----------------------------------------------------------------------
Revision: b21beb71827799eec3525c256f12e609d91e6e4f
Parent:   44e2c86fa3250a09c12de48785f224c5244d4819
Author:   rekkanoryo at pidgin.im
Date:     11/22/10 23:33:29
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b21beb71827799eec3525c256f12e609d91e6e4f

Changelog: 

Properly handle an AIM login server of login.messaging.aol.com.  Fixes #12948.

Changes against parent 44e2c86fa3250a09c12de48785f224c5244d4819

  patched  libpurple/protocols/oscar/oscar.c
  patched  libpurple/protocols/oscar/oscarcommon.h

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	82395d2f22f147eb06810bb105108d79273f48ab
+++ libpurple/protocols/oscar/oscar.c	9e7fe7137a6338d84de41fa04c5e3f3d86ea2cee
@@ -792,7 +792,7 @@ oscar_login(PurpleAccount *account)
 			 * do what we know is best for them and change the setting out
 			 * from under them to the SSL login server.
 			 */
-			if (!strcmp(server, get_login_server(od->icq, FALSE))) {
+			if (!strcmp(server, get_login_server(od->icq, FALSE)) || !strcmp(server, AIM_ALT_LOGIN_SERVER)) {
 				purple_debug_info("oscar", "Account uses SSL, so changing server to default SSL server\n");
 				purple_account_set_string(account, "server", get_login_server(od->icq, TRUE));
 				server = get_login_server(od->icq, TRUE);
============================================================
--- libpurple/protocols/oscar/oscarcommon.h	589c37dec2f04a78175c73553ad05fd61681e6d5
+++ libpurple/protocols/oscar/oscarcommon.h	0050276cd26a9c73649aa6f6837387eab4abe7f4
@@ -33,6 +33,7 @@
 #include "status.h"
 
 #define AIM_DEFAULT_LOGIN_SERVER "login.oscar.aol.com"
+#define AIM_ALT_LOGIN_SERVER "login.messaging.aol.com"
 #define AIM_DEFAULT_SSL_LOGIN_SERVER "slogin.oscar.aol.com"
 #define ICQ_DEFAULT_LOGIN_SERVER "login.icq.com"
 #define ICQ_DEFAULT_SSL_LOGIN_SERVER "slogin.icq.com"


More information about the Commits mailing list