Skip to content

Commit

Permalink
download: fix size reported to progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Sep 3, 2018
1 parent 5f3b72c commit 28418af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/download.cc
Expand Up @@ -345,7 +345,7 @@ struct CurlDownloader : public Downloader
done = true;

try {
act.progress(result.data->size(), result.data->size());
act.progress(result.bodySize, result.bodySize);
callback(std::move(result));
} catch (...) {
done = true;
Expand Down

0 comments on commit 28418af

Please sign in to comment.