summaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-20 09:29:45 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-20 14:59:11 +0100
commit56d1891db6d8056a70f1b7bf437b1ba387cbc079 (patch)
tree95b6ce456a0ee6d4774122779b570e3876ba9b31 /lib/ftp.c
parentfb4c5d55b5f0fae834ffc1cc14006f4ed7f4af18 (diff)
downloadcurl-56d1891db6d8056a70f1b7bf437b1ba387cbc079.tar.gz
curl_range: remove conn->data
Closes #6496
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 63bf3f30a..9014ae4d4 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -3633,7 +3633,7 @@ static CURLcode ftp_do_more(struct Curl_easy *data, int *completep)
/* download */
ftp->downloadsize = -1; /* unknown as of yet */
- result = Curl_range(conn);
+ result = Curl_range(data);
if(result == CURLE_OK && data->req.maxdownload >= 0) {
/* Don't check for successful transfer */