summaryrefslogtreecommitdiff
path: root/apt-pkg/metaindex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/metaindex.cc')
-rw-r--r--apt-pkg/metaindex.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-pkg/metaindex.cc b/apt-pkg/metaindex.cc
index 6e5792b78..281824855 100644
--- a/apt-pkg/metaindex.cc
+++ b/apt-pkg/metaindex.cc
@@ -65,8 +65,7 @@ APT_PURE bool metaIndex::CheckDist(string const &MaybeDist) const
}
APT_PURE std::string metaIndex::GetExpectedDist() const
{
- // TODO: Used to be an explicit value set in the constructor
- return "";
+ return Dist;
}
/*}}}*/
APT_PURE metaIndex::checkSum *metaIndex::Lookup(string const &MetaKey) const /*{{{*/