- Duncan Mac-Vicar Prett and Michal Marek reported problems with resetting

CURLOPT_RANGE back to no range on an easy handle when using FTP.
This commit is contained in:
Daniel Stenberg
2007-02-16 15:37:05 +00:00
parent dca8f962e0
commit aa4435c23b
3 changed files with 8 additions and 1 deletions

View File

@@ -3285,6 +3285,8 @@ static CURLcode ftp_range(struct connectdata *conn)
from, to, data->reqdata.maxdownload));
ftpc->dont_check = TRUE; /* dont check for successful transfer */
}
else
data->reqdata.maxdownload = -1;
return CURLE_OK;
}