From cc497fd153bf8301ff62ec846c14a68f49798cb4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 11 Sep 2003 22:05:23 +0000 Subject: don't use a blank proxy --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftp.c') 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. -- cgit v1.2.3