]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debmetaindex.cc
Merge remote-tracking branch 'debian/debian/experimental' into feature/acq-trans
[apt.git] / apt-pkg / deb / debmetaindex.cc
index b1dc060fedfc27991d1dc924849ff8eabb8d3b96..f2d637676990c23ceb3888d94a8bbd94ea0270b3 100644 (file)
@@ -265,14 +265,13 @@ bool debReleaseIndex::GetIndexes(pkgAcquire *Owner, bool const &GetAll) const
       // this is normally created in pkgAcqMetaSig, but if we run
       // in --print-uris mode, we add it here
       if (tryInRelease == false)
-        new pkgAcqMetaIndex(Owner, 0,
+        new pkgAcqMetaIndex(Owner, NULL,
                              MetaIndexURI("Release"),
                              MetaIndexInfo("Release"), "Release",
                              MetaIndexURI("Release.gpg"), MetaIndexInfo("Release.gpg"), "Release.gpg",
                              ComputeIndexTargets(),
                              new indexRecords (Dist));
    }
-
    if (tryInRelease == true)
       new pkgAcqMetaClearSig(Owner, 
             MetaIndexURI("InRelease"), MetaIndexInfo("InRelease"), "InRelease",
@@ -281,7 +280,7 @@ bool debReleaseIndex::GetIndexes(pkgAcquire *Owner, bool const &GetAll) const
            ComputeIndexTargets(),
            new indexRecords (Dist));
    else
-      new pkgAcqMetaIndex(Owner, 0,
+      new pkgAcqMetaIndex(Owner, NULL,
           MetaIndexURI("Release"), MetaIndexInfo("Release"), "Release",
           MetaIndexURI("Release.gpg"), MetaIndexInfo("Release.gpg"), "Release.gpg",
           ComputeIndexTargets(),