aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-09-11 22:05:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-09-11 22:05:23 +0000
commitcc497fd153bf8301ff62ec846c14a68f49798cb4 (patch)
tree738b233a1fb961a6ecc5456ad959a1143cd7f615
parentc1f31180a27e257c4a6993c984cf5a1933e2b30e (diff)
don't use a blank proxy
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index cae5361f2..25d1f958c 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1488,7 +1488,7 @@ CURLcode ftp_use_pasv(struct connectdata *conn,
else
return CURLE_FTP_CANT_RECONNECT;
- if(data->change.proxy) {
+ if(data->change.proxy && *data->change.proxy) {
/*
* This is a tunnel through a http proxy and we need to connect to the
* proxy again here.