diff options
Diffstat (limited to 'src/SingleFileAllocationIterator.cc')
| -rw-r--r-- | src/SingleFileAllocationIterator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SingleFileAllocationIterator.cc b/src/SingleFileAllocationIterator.cc index b67ce9cd..019c2ce7 100644 --- a/src/SingleFileAllocationIterator.cc +++ b/src/SingleFileAllocationIterator.cc @@ -84,7 +84,7 @@ void SingleFileAllocationIterator::allocateChunk() bool SingleFileAllocationIterator::finished() { - return (uint64_t)offset_ >= totalLength_; + return (uint64_t)offset_ == totalLength_; } } // namespace aria2 |
