summaryrefslogtreecommitdiff
path: root/lib/c-hyper.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 10:24:35 +0100
commit1e9cdeef5f30b19eaeb30925d504521bec8dac70 (patch)
treed1942254bc06601de0797bc055875067b8629464 /lib/c-hyper.c
parentf451206266be6ee6c843fb3a1b3d1d676a6d56b8 (diff)
downloadcurl-bagder/transfer-data-conn.tar.gz
transfer: remove conn->data usebagder/transfer-data-conn
Diffstat (limited to 'lib/c-hyper.c')
-rw-r--r--lib/c-hyper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/c-hyper.c b/lib/c-hyper.c
index 5e7a76f80..b299224e8 100644
--- a/lib/c-hyper.c
+++ b/lib/c-hyper.c
@@ -541,8 +541,7 @@ static int uploadstreamed(void *userdata, hyper_context *ctx,
size_t fillcount;
struct Curl_easy *data = (struct Curl_easy *)userdata;
CURLcode result =
- Curl_fillreadbuffer(data->conn, data->set.upload_buffer_size,
- &fillcount);
+ Curl_fillreadbuffer(data, data->set.upload_buffer_size, &fillcount);
(void)ctx;
if(result)
return HYPER_POLL_ERROR;