mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Fixed a compile problem with --disable-proxy
This commit is contained in:
parent
372203f1fa
commit
2393c94363
@ -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
|
* 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
|
* 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)
|
if(result != CURLE_OK)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
#endif /* CURL_DISABLE_PROXY */
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* file: is a special case in that it doesn't need a network connection
|
* file: is a special case in that it doesn't need a network connection
|
||||||
|
Loading…
Reference in New Issue
Block a user