projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a integration test for bug 1078697
[apt.git]
/
methods
/
cdrom.cc
diff --git
a/methods/cdrom.cc
b/methods/cdrom.cc
index e7114b16816541befc34539e49704a8095d84baf..22d4b9164225e6575363d359be8fb006b1c0e7e5 100644
(file)
--- a/
methods/cdrom.cc
+++ b/
methods/cdrom.cc
@@
-268,7
+268,7
@@
bool CDROMMethod::Fetch(FetchItem *Itm)
Hashes Hash;
FileFd Fd(Res.Filename, FileFd::ReadOnly);
- Hash.AddFD(Fd
.Fd(), Fd.Size()
);
+ Hash.AddFD(Fd);
Res.TakeHashes(Hash);
URIDone(Res);