aboutsummaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-11-10 18:50:00 +0100
committerjcid <devnull@localhost>2008-11-10 18:50:00 +0100
commite70b960ae5c27dfbda861dec25f57d5d83a2f64e (patch)
treee694da5ecf1787a1eec4fb58d0d711af38ec3254 /src/IO/http.c
parent9a5d37c01b81278b43ea1b510acc93a713f0df6a (diff)
- Fixed the proxy URL parameter for Http_must_use_proxy().
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index 692a9520..bcb78b1f 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -459,7 +459,7 @@ static int Http_get(ChainLink *Info, void *Data1)
S->Info = Info;
/* Proxy support */
- if (Http_must_use_proxy(S->web->url)) {
+ if (Http_must_use_proxy(URL_HOST(S->web->url))) {
hostname = dStrdup(URL_HOST(HTTP_Proxy));
S->port = URL_PORT(HTTP_Proxy);
S->use_proxy = TRUE;