diff options
author | Michael Vogt <mvo@debian.org> | 2014-07-17 09:59:55 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-07-17 09:59:55 +0200 |
commit | 31b9d84143f7330f4ad60eaa2c8877d28e00cffa (patch) | |
tree | 7ddc5977c604286f22a1e1a3e23f654d8f5d7d91 /apt-pkg/acquire-item.cc | |
parent | 7ff5ce11ec241311a5520499a6cc09abcbb45307 (diff) |
apt-pkg/acquire-item.cc: make pkgAcqDiffIndex more uniform
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r-- | apt-pkg/acquire-item.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 0911d11b7..6cb9b012a 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -356,7 +356,7 @@ pkgAcqDiffIndex::pkgAcqDiffIndex(pkgAcquire *Owner, Desc.URI = URI + ".diff/Index"; DestFile = _config->FindDir("Dir::State::lists") + "partial/"; - DestFile += URItoFileName(URI) + string(".DiffIndex"); + DestFile += URItoFileName(Desc.URI); if(Debug) std::clog << "pkgAcqDiffIndex: " << Desc.URI << std::endl; @@ -392,7 +392,7 @@ pkgAcqDiffIndex::pkgAcqDiffIndex(pkgAcquire *Owner, string pkgAcqDiffIndex::Custom600Headers() { string Final = _config->FindDir("Dir::State::lists"); - Final += URItoFileName(RealURI) + string(".IndexDiff"); + Final += URItoFileName(Desc.URI); if(Debug) std::clog << "Custom600Header-IMS: " << Final << std::endl; |