]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.cc
HttpsMethod::Fetch(): Zero the FetchResult object when leaving due to 404
[apt.git] / apt-pkg / algorithms.cc
index 608ec7fce2ac6dbd14d94ca4767d37aa57f31d7a..b8383105348421cf7457f8e41642e8ad739074fb 100644 (file)
@@ -468,7 +468,7 @@ void pkgProblemResolver::MakeScores()
         if (D->Version != 0)
         {
            pkgCache::VerIterator const IV = Cache[T].InstVerIter(Cache);
-           if (IV.end() == true || D.IsSatisfied(IV) != D.IsNegative())
+           if (IV.end() == true || D.IsSatisfied(IV) == false)
               continue;
         }
         Scores[T->ID] += DepMap[D->Type];