]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.cc
cleanup, fix test-apt-update-unauth as the behavior of apt changed
[apt.git] / apt-pkg / acquire-worker.cc
index ec1b2fc469be86573cf42768b6a2a8c79c042a67..54be8e99fbda4d63f95b5e620477287cadcf92f2 100644 (file)
@@ -530,6 +530,9 @@ bool pkgAcquire::Worker::QueueItem(pkgAcquire::Queue::QItem *Item)
    Message.reserve(300);
    Message += "URI: " + Item->URI;
    Message += "\nFilename: " + Item->Owner->DestFile;
+   HashStringList const hsl = Item->Owner->HashSums();
+   for (HashStringList::const_iterator hs = hsl.begin(); hs != hsl.end(); ++hs)
+      Message += "\nExpected-" + hs->HashType() + ": " + hs->HashValue();
    Message += Item->Owner->Custom600Headers();
    Message += "\n\n";