diff options
author | Michael Vogt <mvo@debian.org> | 2010-10-28 21:19:57 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2010-10-28 21:19:57 +0200 |
commit | f71b3b984f02daf49cba1141373da19d233d3fae (patch) | |
tree | 5c0733cbc93dfea370b65bbb65ba97f594833dc4 /methods/bzip2.cc | |
parent | c1fa50e1502b2f3ab2ec44cad00c3af3f910615a (diff) | |
parent | 4b625b95a04a9d73c6682a3f9354112a394bb674 (diff) |
merged from donkult
Diffstat (limited to 'methods/bzip2.cc')
-rw-r--r-- | methods/bzip2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/bzip2.cc b/methods/bzip2.cc index c668141a2..ccc3669a2 100644 --- a/methods/bzip2.cc +++ b/methods/bzip2.cc @@ -57,7 +57,7 @@ bool Bzip2Method::Fetch(FetchItem *Itm) FileFd From(Path,FileFd::ReadOnly); // FIXME add an error message saying that empty files can't be valid archives - if(From.Size() == 0) + if(From.FileSize() == 0) return false; int GzOut[2]; |