aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2009-03-09 04:32:51 +0000
committerDan Fandrich <dan@coneharvesters.com>2009-03-09 04:32:51 +0000
commita9a03b9708bc4f11c7178248fe14de413205c787 (patch)
tree04380cbe3610bfaf0db43c96fc291e89b0c38776
parentf4e8c406bbb279eb8d96576475c808c2c769c687 (diff)
Avoid a compile warning in --disable-proxy case
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 426f4af76..0e75a424d 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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;