summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-04-18 06:37:55 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-04-18 06:37:55 +0000
commitf09b5b9829a612c28496040085868b588d7ab6e1 (patch)
tree4325f8b4c6796b6340d394661adc427b814eb0d0 /src/mir_app
parentde1d053e9671a379dd8a45df7253e2222772a919 (diff)
netlib: fix proxy connection
git-svn-id: http://svn.miranda-ng.org/main/trunk@16711 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/netlibhttp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/netlibhttp.cpp b/src/mir_app/src/netlibhttp.cpp
index 8429ef512c..8adb6c1580 100644
--- a/src/mir_app/src/netlibhttp.cpp
+++ b/src/mir_app/src/netlibhttp.cpp
@@ -454,7 +454,8 @@ INT_PTR NetlibHttpSendRequest(WPARAM wParam, LPARAM lParam)
if (ppath && phost)
szHost[ppath - phost] = 0;
- pszUrl = ppath ? ppath : "/";
+ if (!usingProxy)
+ pszUrl = ppath ? ppath : "/";
if (usingProxy && phost && !nlc->dnsThroughProxy) {
char *tszHost = mir_strdup(phost);