diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-05-08 09:48:51 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-05-08 09:48:51 +0200 |
commit | 864a3375f7bf0b3772f4f2ae212b802f6cab5ff9 (patch) | |
tree | 1df83bd5badeea61a237ecf5c6aac884cd9ae0ee /apt-pkg/contrib/hashes.cc | |
parent | 34de054cffeb8e64c09efd452a78271bb85d4831 (diff) | |
parent | c6e9cc582c7093b08c7c057c1f7885eb07e06959 (diff) |
Merge remote-tracking branch 'mvo/bugfix/update-progress-reporting' into debian/experimental
Diffstat (limited to 'apt-pkg/contrib/hashes.cc')
-rw-r--r-- | apt-pkg/contrib/hashes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/hashes.cc b/apt-pkg/contrib/hashes.cc index 1fce0d75f..15f83615d 100644 --- a/apt-pkg/contrib/hashes.cc +++ b/apt-pkg/contrib/hashes.cc @@ -133,7 +133,7 @@ bool Hashes::AddFD(int const Fd,unsigned long long Size, bool const addMD5, bool const addSHA1, bool const addSHA256, bool const addSHA512) { unsigned char Buf[64*64]; - bool const ToEOF = (Size == 0); + bool const ToEOF = (Size == UntilEOF); while (Size != 0 || ToEOF) { unsigned long long n = sizeof(Buf); |