diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-19 14:22:05 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-19 14:22:05 +0100 |
commit | 2f67d29b0c3de8618983055e811e70ee36662f4a (patch) | |
tree | 7ab0646d51474b4f3c16c8a984f2f1edd43528d8 /ftparchive/writer.cc | |
parent | 27da8141d21cfbfc29675510737ee05bdfd4a2b1 (diff) | |
parent | 29966fd1cc2bab68777e85b9070dba7821a58d36 (diff) |
merged from lp:~donkult/apt/experimental
Diffstat (limited to 'ftparchive/writer.cc')
-rw-r--r-- | ftparchive/writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc index 02777713c..159772991 100644 --- a/ftparchive/writer.cc +++ b/ftparchive/writer.cc @@ -1035,7 +1035,7 @@ bool ReleaseWriter::DoPackage(string FileName) CheckSums[NewFileName].size = fd.Size(); Hashes hs; - hs.AddFD(fd.Fd(), 0, DoMD5, DoSHA1, DoSHA256, DoSHA512); + hs.AddFD(fd, 0, DoMD5, DoSHA1, DoSHA256, DoSHA512); if (DoMD5 == true) CheckSums[NewFileName].MD5 = hs.MD5.Result(); if (DoSHA1 == true) |