From: Maksim Stsepanenka Date: Wed, 16 Aug 2017 15:33:33 +0000 (+0300) Subject: http_proxy: fix build error for CURL_DOES_CONVERSIONS X-Git-Tag: curl-7_56_0~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=801d8765ca1a7d9ec9bbf6fa02d89597215b728f;p=thirdparty%2Fcurl.git http_proxy: fix build error for CURL_DOES_CONVERSIONS Closes https://github.com/curl/curl/pull/1793 --- diff --git a/lib/http_proxy.c b/lib/http_proxy.c index 5c5f8fb2ca..5a1dc0b86f 100644 --- a/lib/http_proxy.c +++ b/lib/http_proxy.c @@ -410,7 +410,8 @@ static CURLcode CONNECT(struct connectdata *conn, } /* convert from the network encoding */ - result = Curl_convert_from_network(data, line_start, perline); + result = Curl_convert_from_network(data, s->line_start, + (size_t)s->perline); /* Curl_convert_from_network calls failf if unsuccessful */ if(result) return result;