diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-07-05 15:14:00 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-07-05 15:14:00 +0000 |
| commit | e52e0fa01f6ab8fc0f3a8c7574be8468948b3bd0 (patch) | |
| tree | d02d57aaf707bc1a7abbf2581a57b68285b406f3 /src/CheckIntegrityCommand.cc | |
| parent | 800bc3a6c31ce811a73626a66b29a6337d07cd7b (diff) | |
Fixed invalid connection count
Diffstat (limited to 'src/CheckIntegrityCommand.cc')
| -rw-r--r-- | src/CheckIntegrityCommand.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CheckIntegrityCommand.cc b/src/CheckIntegrityCommand.cc index c2e225b0..bd8354a8 100644 --- a/src/CheckIntegrityCommand.cc +++ b/src/CheckIntegrityCommand.cc @@ -61,8 +61,7 @@ bool CheckIntegrityCommand::executeInternal() return true; } if(_requestGroup->needsFileAllocation()) { - FileAllocationEntryHandle entry = new FileAllocationEntry(cuid, _entry->getCurrentRequest(), _requestGroup, _requestGroup->getExistingFileLength()); - entry->setNextDownloadCommand(_entry->popNextDownloadCommand()); + FileAllocationEntryHandle entry = new FileAllocationEntry(cuid, _entry->getCurrentRequest(), _requestGroup, _entry->popNextDownloadCommand(), _requestGroup->getExistingFileLength()); _e->_fileAllocationMan->pushFileAllocationEntry(entry); } else { if(_timer.difference() <= _e->option->getAsInt(PREF_DIRECT_DOWNLOAD_TIMEOUT) && |
