mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05: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