HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f3e0c
)
cmdline/apt-get.cc: and add size as well
author
Michael Vogt
<michael.vogt@ubuntu.com>
Mon, 15 Nov 2010 15:38:07 +0000
(16:38 +0100)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Mon, 15 Nov 2010 15:38:07 +0000
(16:38 +0100)
cmdline/apt-get.cc
patch
|
blob
|
blame
|
history
diff --git
a/cmdline/apt-get.cc
b/cmdline/apt-get.cc
index
4e96bc6
..
febcab1
100644
(file)
--- 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);
}