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

ssh: fix compiler warning from e40e9d7f0d

This commit is contained in:
Daniel Stenberg 2017-05-02 08:32:04 +02:00
parent 4858c451ee
commit eab6732fde

View File

@ -1838,7 +1838,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
do {
size_t readthisamountnow =
(data->state.resume_from - passed > data->set.buffer_size) ?
data->set.buffer_size :
(size_t)data->set.buffer_size :
curlx_sotouz(data->state.resume_from - passed);
size_t actuallyread =