]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
don't use a blank proxy
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Sep 2003 22:05:23 +0000 (22:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Sep 2003 22:05:23 +0000 (22:05 +0000)
lib/ftp.c

index cae5361f2b0182cbfdf448cb3ebf1856220ae738..25d1f958c4d84bcd5dcbe6c1ed8343a73783a060 100644 (file)
--- 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.