summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_netlib.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-23 19:47:32 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-23 19:47:32 +0000
commita2184eb00d2b02d48ec14e72615736281b9d5f81 (patch)
tree94ade86705cd11d5868d6b33675773642a05f199 /protocols/Skype/src/skype_netlib.cpp
parentbfeb3b2b1088278afb247d82085174aaf97e2cc6 (diff)
- changed project file structure
- skype runtime initialization moved to plugin load func - fixed password encription - disabled message sync git-svn-id: http://svn.miranda-ng.org/main/trunk@4518 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_netlib.cpp')
-rw-r--r--protocols/Skype/src/skype_netlib.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/protocols/Skype/src/skype_netlib.cpp b/protocols/Skype/src/skype_netlib.cpp
index 7401e8c84e..e0782e4a9f 100644
--- a/protocols/Skype/src/skype_netlib.cpp
+++ b/protocols/Skype/src/skype_netlib.cpp
@@ -38,40 +38,40 @@ void CSkypeProto::InitProxy()
{
case PROXYTYPE_HTTP:
case PROXYTYPE_HTTPS:
- this->skype->SetInt(SETUPKEY_HTTPS_PROXY_ENABLE, 1);
- this->skype->SetInt(SETUPKEY_SOCKS_PROXY_ENABLE, 0);
- this->skype->SetStr(SETUPKEY_HTTPS_PROXY_ADDR, address);
+ g_skype->SetInt(SETUPKEY_HTTPS_PROXY_ENABLE, 1);
+ g_skype->SetInt(SETUPKEY_SOCKS_PROXY_ENABLE, 0);
+ g_skype->SetStr(SETUPKEY_HTTPS_PROXY_ADDR, address);
if (nlus.useProxyAuth)
{
char encodedPass[MAX_PATH];
Base64::Encode(nlus.szProxyAuthPassword, encodedPass, MAX_PATH);
- this->skype->SetStr(SETUPKEY_HTTPS_PROXY_USER, nlus.szProxyAuthUser);
- this->skype->SetStr(SETUPKEY_HTTPS_PROXY_PWD, encodedPass);
+ g_skype->SetStr(SETUPKEY_HTTPS_PROXY_USER, nlus.szProxyAuthUser);
+ g_skype->SetStr(SETUPKEY_HTTPS_PROXY_PWD, encodedPass);
}
break;
case PROXYTYPE_SOCKS4:
case PROXYTYPE_SOCKS5:
- this->skype->SetInt(SETUPKEY_HTTPS_PROXY_ENABLE, 0);
- this->skype->SetInt(SETUPKEY_SOCKS_PROXY_ENABLE, 1);
- this->skype->SetStr(SETUPKEY_SOCKS_PROXY_ADDR, address);
+ g_skype->SetInt(SETUPKEY_HTTPS_PROXY_ENABLE, 0);
+ g_skype->SetInt(SETUPKEY_SOCKS_PROXY_ENABLE, 1);
+ g_skype->SetStr(SETUPKEY_SOCKS_PROXY_ADDR, address);
if (nlus.useProxyAuth)
{
- this->skype->SetStr(SETUPKEY_SOCKS_PROXY_USER, nlus.szProxyAuthUser);
- this->skype->SetStr(SETUPKEY_SOCKS_PROXY_PWD, nlus.szProxyAuthPassword);
+ g_skype->SetStr(SETUPKEY_SOCKS_PROXY_USER, nlus.szProxyAuthUser);
+ g_skype->SetStr(SETUPKEY_SOCKS_PROXY_PWD, nlus.szProxyAuthPassword);
}
break;
default:
- this->skype->Delete(SETUPKEY_HTTPS_PROXY_ENABLE);
- this->skype->Delete(SETUPKEY_HTTPS_PROXY_ADDR);
- this->skype->Delete(SETUPKEY_HTTPS_PROXY_USER);
- this->skype->Delete(SETUPKEY_HTTPS_PROXY_PWD);
- this->skype->Delete(SETUPKEY_SOCKS_PROXY_ENABLE);
- this->skype->Delete(SETUPKEY_SOCKS_PROXY_ADDR);
- this->skype->Delete(SETUPKEY_SOCKS_PROXY_USER);
- this->skype->Delete(SETUPKEY_SOCKS_PROXY_PWD);
+ g_skype->Delete(SETUPKEY_HTTPS_PROXY_ENABLE);
+ g_skype->Delete(SETUPKEY_HTTPS_PROXY_ADDR);
+ g_skype->Delete(SETUPKEY_HTTPS_PROXY_USER);
+ g_skype->Delete(SETUPKEY_HTTPS_PROXY_PWD);
+ g_skype->Delete(SETUPKEY_SOCKS_PROXY_ENABLE);
+ g_skype->Delete(SETUPKEY_SOCKS_PROXY_ADDR);
+ g_skype->Delete(SETUPKEY_SOCKS_PROXY_USER);
+ g_skype->Delete(SETUPKEY_SOCKS_PROXY_PWD);
break;
}
}