diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-02-16 15:37:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-02-16 15:37:05 +0000 |
commit | aa4435c23b008450124d8c015e896d1002cb93ca (patch) | |
tree | 8bd60d8a3417139d4e95ab69ddd53356e7acc084 /lib | |
parent | dca8f962e07365fcd87f527da32476c157db109b (diff) |
- Duncan Mac-Vicar Prett and Michal Marek reported problems with resetting
CURLOPT_RANGE back to no range on an easy handle when using FTP.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |