diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-09-13 14:34:15 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-09-14 15:22:19 +0200 |
commit | 2cc48828ea1a0ca0a0729c403abc9d7b25945880 (patch) | |
tree | e83e39e3174ffec9b39ccfa0de592856073d3509 | |
parent | d5a46051cbefe237a9b855603f6cbd50e8e407f2 (diff) |
use APT::FTPArchive hash settings as default for APT::FPArchive::$filetype
-rw-r--r-- | ftparchive/writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc index 11ba3a323..27d6e98e0 100644 --- a/ftparchive/writer.cc +++ b/ftparchive/writer.cc @@ -56,7 +56,7 @@ FTWScanner *FTWScanner::Owner; // ConfigToDoHashes - which hashes to generate /*{{{*/ static void SingleConfigToDoHashes(unsigned int &DoHashes, std::string const &Conf, unsigned int const Flag) { - if (_config->FindB(Conf, true) == true) + if (_config->FindB(Conf, (DoHashes & Flag) == Flag) == true) DoHashes |= Flag; else DoHashes &= ~Flag; |