summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-11-15 16:38:07 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-11-15 16:38:07 +0100
commit7f7aa6eb3227e69b34b1b38e3c5d5b15746c395f (patch)
tree143fc4d460c87e2dbf8f66fe289e7331c0c9dbdd /cmdline
parentc9f3e0cdacbe24abccb2bbc0eab6c6b1a15d3bd9 (diff)
cmdline/apt-get.cc: and add size as well
Diffstat (limited to 'cmdline')
-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);
}