summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-05-31 12:58:20 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-05-31 12:58:20 +0200
commit4c265635a8417b857a3a8f537c74313d5533da9b (patch)
tree3820c367b218c36b3199fe15f3483e3780e02863 /cmdline/apt-cache.cc
parent78c325968642255fd2325003f19729b617477666 (diff)
downloadapt-4c265635a8417b857a3a8f537c74313d5533da9b.tar.gz
i managed to commit broken code… which (at least in my mind) worked
yesterday. Strange… anyway only small fixes.
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r--cmdline/apt-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 95f185b4f..943a001a8 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1595,7 +1595,7 @@ bool Policy(CommandLine &CmdL)
{
pkgCache::PkgIterator Pkg = I.Group().FindPkg("any");
- for (; Pkg.end() != true; Pkg = Grp.NextPkg(Pkg)) {
+ for (; Pkg.end() != true; Pkg = I.Group().NextPkg(Pkg)) {
if (strcmp(Pkg.Arch(),"all") == 0)
continue;