mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
Avoid a compile warning in --disable-proxy case
This commit is contained in:
parent
f4e8c406bb
commit
a9a03b9708
@ -3055,7 +3055,7 @@ static CURLcode ftp_connect(struct connectdata *conn,
|
||||
bool *done) /* see description above */
|
||||
{
|
||||
CURLcode result;
|
||||
#ifndef CURL_DISABLE_HTTP
|
||||
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_PROXY)
|
||||
/* for FTP over HTTP proxy */
|
||||
struct HTTP http_proxy;
|
||||
struct FTP *ftp_save;
|
||||
|
Loading…
Reference in New Issue
Block a user