summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2016-12-25 22:03:03 -0800
committerSam Bingner <sam@bingner.com>2020-07-17 00:22:23 -1000
commit74f5729d290e267ec7afe91a6749cc27baa002e9 (patch)
treeb40c07365f88a1a3d3bb2ce02331e2117ec3d2a8 /apt-pkg/acquire-item.cc
parent119a9d038639eb8c37b67f52e21f85674e46aecd (diff)
This is 2016 and APT already requires use of mmap.
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index bb3bc1b56..ce5534681 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -3782,7 +3782,7 @@ std::string pkgAcqChangelog::URITemplate(pkgCache::RlsFileIterator const &Rls)
should be so this could produce request order-dependent anomalies */
if (OpenMaybeClearSignedFile(Rls.FileName(), rf) == true)
{
- pkgTagFile TagFile(&rf, rf.Size());
+ pkgTagFile TagFile(&rf);
pkgTagSection Section;
if (TagFile.Step(Section) == true)
server = Section.FindS("Changelogs");