mirror of
https://github.com/curl/curl.git
synced 2026-08-14 19:03:39 +03:00
parent
150f45e8d1
commit
0c76795caf
5 changed files with 5 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 2017 - 2019 Red Hat, Inc.
|
||||
* Copyright (C) 2017 - 2020 Red Hat, Inc.
|
||||
*
|
||||
* Authors: Nikos Mavrogiannopoulos, Tomas Mraz, Stanislav Zidek,
|
||||
* Robert Kolcun, Andreas Schneider
|
||||
|
|
@ -1586,7 +1586,6 @@ static CURLcode myssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
return CURLE_BAD_DOWNLOAD_RESUME;
|
||||
}
|
||||
}
|
||||
/* Does a completed file need to be seeked and started or closed ? */
|
||||
/* Now store the number of bytes we are expected to download */
|
||||
data->req.size = size - data->state.resume_from;
|
||||
data->req.maxdownload = size - data->state.resume_from;
|
||||
|
|
|
|||
|
|
@ -2381,7 +2381,6 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
return CURLE_BAD_DOWNLOAD_RESUME;
|
||||
}
|
||||
}
|
||||
/* Does a completed file need to be seeked and started or closed ? */
|
||||
/* Now store the number of bytes we are expected to download */
|
||||
data->req.size = attrs.filesize - data->state.resume_from;
|
||||
data->req.maxdownload = attrs.filesize - data->state.resume_from;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue