diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-19 10:24:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-19 17:07:02 +0100 |
commit | 219d9f8620d41134825db693500131db0305a325 (patch) | |
tree | adc4fbbb3d96f2257e16dd0d8db1cf3aaab2ffdc /lib/file.c | |
parent | 2bdec0b3636e1130316abeb7d7b4653329abc318 (diff) | |
download | curl-219d9f8620d41134825db693500131db0305a325.tar.gz |
transfer: remove conn->data use
Closes #6486
Diffstat (limited to 'lib/file.c')
-rw-r--r-- | lib/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/file.c b/lib/file.c index 509e4836f..a90dc4b8e 100644 --- a/lib/file.c +++ b/lib/file.c @@ -301,8 +301,7 @@ static CURLcode file_upload(struct Curl_easy *data) size_t nread; size_t nwrite; size_t readcount; - result = Curl_fillreadbuffer(data->conn, data->set.buffer_size, - &readcount); + result = Curl_fillreadbuffer(data, data->set.buffer_size, &readcount); if(result) break; |