diff options
author | Will Dietz <w@wdtz.org> | 2018-08-27T13·41-0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-09-03T19·12-0500 |
commit | 28418af920284e0ea830e2f0339efadb0660efa1 (patch) | |
tree | ae497a804aaeda7e049d064ebddcc2ad4cf25703 /src/libstore | |
parent | 5f3b72cfc2f729f6bd5cf1aea9720678b76b2bf3 (diff) |
download: fix size reported to progress bar
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/download.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc index 973fca0b130f..13913d031daa 100644 --- a/src/libstore/download.cc +++ b/src/libstore/download.cc @@ -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; |