summaryrefslogtreecommitdiff
path: root/src/FileAllocationCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-10-15 19:02:54 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-10-15 19:02:54 +0900
commitaa4ea8889c827df4b178b6ae6259b82e86bfbc5f (patch)
tree5e527bbdeb4f1703c615827ede961e11c2983440 /src/FileAllocationCommand.cc
parenta7fcf83bdfabf213d80e32d72561764f82e6782d (diff)
clang-format-3.9
Diffstat (limited to 'src/FileAllocationCommand.cc')
-rw-r--r--src/FileAllocationCommand.cc11
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));