From 801d8765ca1a7d9ec9bbf6fa02d89597215b728f Mon Sep 17 00:00:00 2001 From: Maksim Stsepanenka Date: Wed, 16 Aug 2017 18:33:33 +0300 Subject: http_proxy: fix build error for CURL_DOES_CONVERSIONS Closes https://github.com/curl/curl/pull/1793 --- lib/http_proxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/http_proxy.c b/lib/http_proxy.c index 5c5f8fb2c..5a1dc0b86 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; -- cgit v1.2.3