diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-07 17:47:30 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-07 17:47:30 +0200 |
commit | c48eea97b93920062ea26001081d4fdf7eb967e3 (patch) | |
tree | 84e5609e0f35579a8ccca029794555fd6c0bbc80 /apt-pkg/acquire-method.cc | |
parent | c86bc8515a3a195aa244a1743476b102d72c9a2a (diff) |
make expected-size a maximum-size check as this is what we want at this point
Diffstat (limited to 'apt-pkg/acquire-method.cc')
-rw-r--r-- | apt-pkg/acquire-method.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-method.cc b/apt-pkg/acquire-method.cc index 330854e75..9c0558223 100644 --- a/apt-pkg/acquire-method.cc +++ b/apt-pkg/acquire-method.cc @@ -373,7 +373,7 @@ int pkgAcqMethod::Run(bool Single) Tmp->ExpectedHashes.push_back(HashString(*t, hash)); } char *End; - Tmp->ExpectedSize = strtoll(LookupTag(Message, "Expected-Size", "0").c_str(), &End, 10); + Tmp->MaximumSize = strtoll(LookupTag(Message, "Maximum-Size", "0").c_str(), &End, 10); Tmp->Next = 0; // Append it to the list |