summaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-19 10:24:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-19 17:07:02 +0100
commit219d9f8620d41134825db693500131db0305a325 (patch)
treeadc4fbbb3d96f2257e16dd0d8db1cf3aaab2ffdc /lib/file.c
parent2bdec0b3636e1130316abeb7d7b4653329abc318 (diff)
downloadcurl-219d9f8620d41134825db693500131db0305a325.tar.gz
transfer: remove conn->data use
Closes #6486
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c3
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;