don't use a blank proxy

This commit is contained in:
Daniel Stenberg 2003-09-11 22:05:23 +00:00
parent c1f31180a2
commit cc497fd153

View File

@ -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.