diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-07 11:48:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-07 11:48:24 +0000 |
commit | e88b8213d0737a432b97d74eb7ab0ff82ddc2faa (patch) | |
tree | 1f777e4732d4bb186f3ac91408b600c73f20206e /protocols | |
parent | 4ab77d519ebde5e380a75fb3f139f965867f1ed8 (diff) |
nasty clutch for old stupid corporate proxies
git-svn-id: http://svn.miranda-ng.org/main/trunk@6812 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/VKontakte/src/vk_queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp index 60d115b84b..144a54fdf2 100644 --- a/protocols/VKontakte/src/vk_queue.cpp +++ b/protocols/VKontakte/src/vk_queue.cpp @@ -64,7 +64,7 @@ bool CVkProto::PushAsyncHttpRequest(int iRequestType, LPCSTR szUrl, bool bSecure CMStringA url;
if (*szUrl == '/') { // relative url leads to a site
- url = VK_API_URL;
+ url = ((bSecure) ? "https://" : "http://") + CMStringA(VK_API_URL);
url += szUrl;
pReq->bIsMainConn = true;
}
|