X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/76cbc9abb2d09ee5b248dfaa24948ba016fb6dee..9224ce3d4d1ea0428a70e75134998e08aa45b1e6:/methods/ftp.cc?ds=sidebyside diff --git a/methods/ftp.cc b/methods/ftp.cc index 7764acf6a..92d8573f1 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -1064,7 +1064,7 @@ bool FtpMethod::Fetch(FetchItem *Itm) } // Open the file - Hashes Hash; + Hashes Hash(Itm->ExpectedHashes); { FileFd Fd(Itm->DestFile,FileFd::WriteAny); if (_error->PendingError() == true)