summaryrefslogtreecommitdiff
path: root/lib/c-hyper.c
diff options
context:
space:
mode:
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 14b20be5d..7c735da71 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;