1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00

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

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;