HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix missing va_end()
[ntk/apt.git]
/
methods
/
file.cc
diff --git
a/methods/file.cc
b/methods/file.cc
index
5025c99
..
7ed4e6f
100644
(file)
--- a/
methods/file.cc
+++ b/
methods/file.cc
@@
-83,7
+83,7
@@
bool FileMethod::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);
return true;