summaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-20 09:13:14 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-20 09:13:14 +0100
commit4907431903345638a997d315b5e3dd4febfb9e26 (patch)
treedf281ca4680fbc4d7f26f9b1acb1239a9822c7bf /lib/transfer.c
parent6246a1d8c6776a60f266f1906f0ef9048e9e1069 (diff)
downloadcurl-4907431903345638a997d315b5e3dd4febfb9e26.tar.gz
transfer: fix ‘conn’ undeclared mistake for iconv build
Follow-up to 219d9f8620d
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index a8aa02c02..4f869b90d 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -164,6 +164,7 @@ CURLcode Curl_fillreadbuffer(struct Curl_easy *data, size_t bytes,
#ifdef CURL_DOES_CONVERSIONS
bool sending_http_headers = FALSE;
+ struct connectdata *conn = data->conn;
if(conn->handler->protocol&(PROTO_FAMILY_HTTP|CURLPROTO_RTSP)) {
const struct HTTP *http = data->req.p.http;