diff options
Diffstat (limited to 'src/FileAllocationCommand.cc')
| -rw-r--r-- | src/FileAllocationCommand.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/FileAllocationCommand.cc b/src/FileAllocationCommand.cc index 36ba57d1..1ac63e7b 100644 --- a/src/FileAllocationCommand.cc +++ b/src/FileAllocationCommand.cc @@ -72,11 +72,12 @@ bool FileAllocationCommand::executeInternal() } fileAllocationEntry_->allocateChunk(); if (fileAllocationEntry_->finished()) { - A2_LOG_DEBUG(fmt(MSG_ALLOCATION_COMPLETED, - static_cast<long int>( - std::chrono::duration_cast<std::chrono::seconds>( - timer_.difference(global::wallclock())).count()), - getRequestGroup()->getTotalLength())); + A2_LOG_DEBUG(fmt( + MSG_ALLOCATION_COMPLETED, + static_cast<long int>(std::chrono::duration_cast<std::chrono::seconds>( + timer_.difference(global::wallclock())) + .count()), + getRequestGroup()->getTotalLength())); std::vector<std::unique_ptr<Command>> commands; fileAllocationEntry_->prepareForNextAction(commands, getDownloadEngine()); getDownloadEngine()->addCommand(std::move(commands)); |
