summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 4e96bc67d..febcab18c 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2780,7 +2780,7 @@ bool DoDownload(CommandLine &CmdL)
else if (rec.MD5Hash() != "")
hash = HashString("md5", rec.MD5Hash());
// get the file
- new pkgAcqFile(&Fetcher, uri, hash.toStr(), 0, descr, Pkg.Name(), ".");
+ new pkgAcqFile(&Fetcher, uri, hash.toStr(), (*Ver)->Size, descr, Pkg.Name(), ".");
result &= (Fetcher.Run() == pkgAcquire::Continue);
}