diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2016-03-30 05:54:58 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2016-03-30 05:54:58 +0000 |
commit | 41fa778883c3bbb5c14470b66c35304f894012c6 (patch) | |
tree | ede4902dc3e91fed7c9b77bde2a5941abdea3c7f /protocols/AimOscar/src/utility.cpp | |
parent | 7460f623d00f6119979688e5c4d788a8cdc0a478 (diff) |
aim:
force disabled ssl as it does not work anymore
TODO:
implement "clientlogin" api for icq/aim
it's requires at least key of registrtrd developer on aol
it's using https login procediure with redirect to actual aim/icq server after successfule login procedure
git-svn-id: http://svn.miranda-ng.org/main/trunk@16563 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/utility.cpp')
-rwxr-xr-x[-rw-r--r--] | protocols/AimOscar/src/utility.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp index 0c785deb79..06849fb8b9 100644..100755 --- a/protocols/AimOscar/src/utility.cpp +++ b/protocols/AimOscar/src/utility.cpp @@ -99,10 +99,12 @@ void CAimProto::start_connection(void*) return;
}
- bool use_ssl = !getByte(AIM_KEY_DSSL, 0);
+ //bool use_ssl = !getByte(AIM_KEY_DSSL, 0);
+ bool use_ssl = false;
char* login_url = getStringA(AIM_KEY_HN);
- if (login_url == NULL) login_url = mir_strdup(use_ssl ? AIM_DEFAULT_SERVER : AIM_DEFAULT_SERVER_NS);
+ //if (login_url == NULL) login_url = mir_strdup(use_ssl ? AIM_DEFAULT_SERVER : AIM_DEFAULT_SERVER_NS);
+ if (login_url == NULL) login_url = mir_strdup(AIM_DEFAULT_SERVER);
m_hServerConn = aim_connect(login_url, get_default_port(), use_ssl, login_url);
@@ -145,7 +147,8 @@ bool CAimProto::wait_conn(HANDLE& hConn, HANDLE& hEvent, unsigned short service) unsigned short CAimProto::get_default_port(void)
{
- return getWord(AIM_KEY_PN, getByte(AIM_KEY_DSSL, 0) ? AIM_DEFAULT_PORT : AIM_DEFAULT_SSL_PORT);
+ //return getWord(AIM_KEY_PN, getByte(AIM_KEY_DSSL, 0) ? AIM_DEFAULT_PORT : AIM_DEFAULT_SSL_PORT);
+ return AIM_DEFAULT_PORT;
}
bool CAimProto::is_my_contact(MCONTACT hContact)
|