diff options
Diffstat (limited to 'src/StreamFileAllocationEntry.cc')
| -rw-r--r-- | src/StreamFileAllocationEntry.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/StreamFileAllocationEntry.cc b/src/StreamFileAllocationEntry.cc index c0282f8a..e771e758 100644 --- a/src/StreamFileAllocationEntry.cc +++ b/src/StreamFileAllocationEntry.cc @@ -59,16 +59,16 @@ void StreamFileAllocationEntry::prepareForNextAction (std::vector<Command*>& commands, DownloadEngine* e) { - _requestGroup->getDownloadContext()->resetDownloadStartTime(); - if(_nextCommand) { + getRequestGroup()->getDownloadContext()->resetDownloadStartTime(); + if(getNextCommand()) { // give _nextCommand a chance to execute in the next execution loop. - _nextCommand->setStatus(Command::STATUS_ONESHOT_REALTIME); + getNextCommand()->setStatus(Command::STATUS_ONESHOT_REALTIME); e->setNoWait(true); commands.push_back(popNextCommand()); // try remaining uris - _requestGroup->createNextCommandWithAdj(commands, e, -1); + getRequestGroup()->createNextCommandWithAdj(commands, e, -1); } else { - _requestGroup->createNextCommandWithAdj(commands, e, 0); + getRequestGroup()->createNextCommandWithAdj(commands, e, 0); } } |
