From: Dan Fandrich Date: Mon, 29 Sep 2008 22:45:25 +0000 (+0000) Subject: Fixed a compile problem with --disable-proxy X-Git-Tag: curl-7_19_1~258 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2393c943632f78ed38122d24b7d0535fffe6efa3;p=thirdparty%2Fcurl.git Fixed a compile problem with --disable-proxy --- diff --git a/lib/url.c b/lib/url.c index 51bfbf6a73..bb09d2fd33 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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