]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
transfer: fix ‘conn’ undeclared mistake for iconv build
authorDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jan 2021 08:13:14 +0000 (09:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jan 2021 08:13:14 +0000 (09:13 +0100)
Follow-up to 219d9f8620d

lib/transfer.c

index a8aa02c02d63992b89fad39528090276890ee0c5..4f869b90de80c2c5c305803d01ab148183ded576 100644 (file)
@@ -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;