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

http_proxy: fix build error for CURL_DOES_CONVERSIONS

Closes https://github.com/curl/curl/pull/1793
This commit is contained in:
Maksim Stsepanenka 2017-08-16 18:33:33 +03:00 committed by Jay Satiro
parent 870d849d48
commit 801d8765ca

View File

@ -410,7 +410,8 @@ static CURLcode CONNECT(struct connectdata *conn,
} }
/* convert from the network encoding */ /* 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 */ /* Curl_convert_from_network calls failf if unsuccessful */
if(result) if(result)
return result; return result;