summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-08-01 11:06:47 +0200
committerMichael Vogt <mvo@debian.org>2014-08-01 11:06:47 +0200
commit80976dd5452a9cfbe0c4f6229c729711ba685a5f (patch)
treef637c2c1a2864c3f4bc3396fad9fd8c95e61e2c0 /apt-pkg
parent21638c3af355b3997fadd169495551568af6acfe (diff)
mve MetaKey into pkgAcqBaseIndex
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc1
-rw-r--r--apt-pkg/acquire-item.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index da8402ffc..43c09e7b5 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -1010,7 +1010,6 @@ void pkgAcqIndex::Init(string const &URI, string const &URIDesc, string const &S
DestFile += URItoFileName(URI);
std::string const comprExt = CompressionExtension.substr(0, CompressionExtension.find(' '));
- std::string MetaKey;
if (comprExt == "uncompressed")
{
Desc.URI = URI;
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index 3f7cca083..f5a308c58 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -532,6 +532,8 @@ class pkgAcqBaseIndex : public pkgAcquire::Item
*/
const struct IndexTarget * Target;
indexRecords *MetaIndexParser;
+ /** \brief The MetaIndex Key */
+ std::string MetaKey;
pkgAcqBaseIndex(pkgAcquire *Owner,
unsigned long TransactionID,
@@ -851,6 +853,7 @@ class pkgAcqIndex : public pkgAcqBaseIndex
*/
bool Erase;
+ // FIXME:
// Unused, used to be used to verify that "Packages: " header was there
bool __DELME_ON_NEXT_ABI_BREAK_Verify;