summaryrefslogtreecommitdiff
path: root/lib/http.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/http.c
parent2bdec0b3636e1130316abeb7d7b4653329abc318 (diff)
downloadcurl-219d9f8620d41134825db693500131db0305a325.tar.gz
transfer: remove conn->data use
Closes #6486
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 520ac1070..83484d3af 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -555,7 +555,7 @@ static CURLcode http_perhapsrewind(struct Curl_easy *data,
if(bytessent)
/* we rewind now at once since if we already sent something */
- return Curl_readrewind(conn);
+ return Curl_readrewind(data);
return CURLE_OK;
}