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
committerJay Freeman (saurik) <saurik@saurik.com>2016-12-25 22:03:03 -0800
commit3650e87b0cee98547024c2cb613c95f5e736971d (patch)
tree6efb2166a36724434b6a1673d4fc4bbeba286f20 /apt-pkg/acquire-item.cc
parent1e33fb4ac68db5c2630de72d222d9dc10eb93272 (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 6a809a1c6..7f5db24d3 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -3603,7 +3603,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");