diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-09-30 15:21:52 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-09-30 15:21:52 +0200 |
commit | 124dc1e996aedc0494fa67a5414b6239f1b24646 (patch) | |
tree | 0419ae9430f5e2b15c0ff9ffdce65ed23efed40c /apt-pkg/contrib/hashes.cc | |
parent | dacb75c62564f436a5f56b0a04169dc71ec3a9cd (diff) | |
parent | 440614ff30c053e3691a793556d8c674258fb58b (diff) |
Merge remote-tracking branch 'donkult/debian/experimental' into debian/experimental
Diffstat (limited to 'apt-pkg/contrib/hashes.cc')
-rw-r--r-- | apt-pkg/contrib/hashes.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/hashes.cc b/apt-pkg/contrib/hashes.cc index 199e395f6..417982343 100644 --- a/apt-pkg/contrib/hashes.cc +++ b/apt-pkg/contrib/hashes.cc @@ -209,11 +209,11 @@ bool HashStringList::operator==(HashStringList const &other) const /*{{{*/ std::string const forcedType = _config->Find("Acquire::ForceHash", ""); if (forcedType.empty() == false) { - HashString const * const hs = other.find(forcedType); + HashString const * const hs = find(forcedType); HashString const * const ohs = other.find(forcedType); if (hs == NULL || ohs == NULL) return false; - return hs == ohs; + return *hs == *ohs; } short matches = 0; for (const_iterator hs = begin(); hs != end(); ++hs) |