diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-09-29 22:45:25 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-09-29 22:45:25 +0000 |
commit | 2393c943632f78ed38122d24b7d0535fffe6efa3 (patch) | |
tree | 9aee07da72216f6317425b87ce085c806861d9fd | |
parent | 372203f1fa541da53a07bf850e50583e2b870102 (diff) |
Fixed a compile problem with --disable-proxy
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4105,6 +4105,7 @@ static CURLcode create_conn(struct SessionHandle *data, } +#ifndef CURL_DISABLE_PROXY /*********************************************************************** * If this is supposed to use a proxy, we need to figure out the proxy * host name, so that we can re-use an existing connection @@ -4117,6 +4118,7 @@ static CURLcode create_conn(struct SessionHandle *data, if(result != CURLE_OK) return result; } +#endif /* CURL_DISABLE_PROXY */ /*********************************************************************** * file: is a special case in that it doesn't need a network connection |