summaryrefslogtreecommitdiff
path: root/apt-pkg/cacheset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/cacheset.cc')
-rw-r--r--apt-pkg/cacheset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cacheset.cc b/apt-pkg/cacheset.cc
index 59d96ffc0..565a2b298 100644
--- a/apt-pkg/cacheset.cc
+++ b/apt-pkg/cacheset.cc
@@ -599,7 +599,7 @@ bool VersionContainerInterface::FromDependency(VersionContainerInterface * const
continue;
auto const OP = Prv.OwnerPkg();
auto const TV = getTargetVersion(OP);
- if (Prv.OwnerVer() == TV && D.IsSatisfied(TV))
+ if (Prv.OwnerVer() == TV && D.IsSatisfied(Prv))
{
vci->insert(TV);
found = true;