]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcachegen.h
Fix an infinite loop in pkgAcquire::UriIterator::operator++() (Closes: #335615).
[apt.git] / apt-pkg / pkgcachegen.h
index a47b097b3185ead0650e4a3165df0345a4de6aca..b6715294af363aa6475f9a9089b632a8f5b1f0b0 100644 (file)
@@ -51,7 +51,7 @@ class pkgCacheGenerator
    // Flag file dependencies
    bool FoundFileDeps;
    
-   bool NewPackage(pkgCache::PkgIterator &Pkg,const string &Pkg);
+   bool NewPackage(pkgCache::PkgIterator &Pkg,const string &PkgName);
    bool NewFileVer(pkgCache::VerIterator &Ver,ListParser &List);
    bool NewFileDesc(pkgCache::DescIterator &Desc,ListParser &List);
    unsigned long NewVersion(pkgCache::VerIterator &Ver,const string &VerStr,unsigned long Next);