aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/download.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index 973fca0b1..13913d031 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;