transfer: fix ‘conn’ undeclared mistake for iconv build

Follow-up to 219d9f8620
This commit is contained in:
Daniel Stenberg 2021-01-20 09:13:14 +01:00
parent 6246a1d8c6
commit 4907431903
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 0 deletions

View 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;