summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Stsepanenka <good.man@tut.by>2017-08-16 18:33:33 +0300
committerJay Satiro <raysatiro@yahoo.com>2017-08-16 14:41:31 -0400
commit801d8765ca1a7d9ec9bbf6fa02d89597215b728f (patch)
tree106e67288ac34d94b87329d5c2181d1d4a182553
parent870d849d48a26b8eeb0d4bb1f4655367a4a191ca (diff)
downloadcurl-801d8765ca1a7d9ec9bbf6fa02d89597215b728f.tar.gz
http_proxy: fix build error for CURL_DOES_CONVERSIONS
Closes https://github.com/curl/curl/pull/1793
-rw-r--r--lib/http_proxy.c3
1 files changed, 2 insertions, 1 deletions
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;