forked from lix-project/lix
download: fix size reported to progress bar
This commit is contained in:
parent
5f3b72cfc2
commit
28418af920
|
@ -345,7 +345,7 @@ struct CurlDownloader : public Downloader
|
||||||
done = true;
|
done = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
act.progress(result.data->size(), result.data->size());
|
act.progress(result.bodySize, result.bodySize);
|
||||||
callback(std::move(result));
|
callback(std::move(result));
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
done = true;
|
done = true;
|
||||||
|
|
Loading…
Reference in a new issue