From: Daniel Stenberg Date: Thu, 11 Sep 2003 22:05:23 +0000 (+0000) Subject: don't use a blank proxy X-Git-Tag: curl-7_10_8~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc497fd153bf8301ff62ec846c14a68f49798cb4;p=thirdparty%2Fcurl.git don't use a blank proxy --- diff --git a/lib/ftp.c b/lib/ftp.c index cae5361f2b..25d1f958c4 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.