mirror of https://github.com/aria2/aria2
2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed infinite loop in checksum checking. * src/IteratableChecksumValidator.ccpull/1/head
parent
5ea933fed1
commit
b1d51f2442
|
@ -1,3 +1,8 @@
|
|||
2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Fixed infinite loop in checksum checking.
|
||||
* src/IteratableChecksumValidator.cc
|
||||
|
||||
2008-05-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Set _supportsPersistentConnection to true by default.
|
||||
|
|
|
@ -84,7 +84,7 @@ void IteratableChecksumValidator::validateChunk()
|
|||
|
||||
bool IteratableChecksumValidator::finished() const
|
||||
{
|
||||
if((uint16_t)_currentOffset >= _dctx->getTotalLength()) {
|
||||
if((uint64_t)_currentOffset >= _dctx->getTotalLength()) {
|
||||
_pieceStorage->getDiskAdaptor()->disableDirectIO();
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue