diff options
Diffstat (limited to 'src/FileAllocationDispatcherCommand.cc')
| -rw-r--r-- | src/FileAllocationDispatcherCommand.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/FileAllocationDispatcherCommand.cc b/src/FileAllocationDispatcherCommand.cc index 58a82061..00c282e9 100644 --- a/src/FileAllocationDispatcherCommand.cc +++ b/src/FileAllocationDispatcherCommand.cc @@ -46,14 +46,15 @@ namespace aria2 { FileAllocationDispatcherCommand::FileAllocationDispatcherCommand (cuid_t cuid, const SharedHandle<FileAllocationMan>& fileAllocMan, - DownloadEngine* e):SequentialDispatcherCommand<FileAllocationEntry> - (cuid, fileAllocMan, e) {} + DownloadEngine* e) + : SequentialDispatcherCommand<FileAllocationEntry>(cuid, fileAllocMan, e) +{} Command* FileAllocationDispatcherCommand::createCommand (const SharedHandle<FileAllocationEntry>& entry) { cuid_t newCUID = getDownloadEngine()->newCUID(); - A2_LOG_INFO(fmt(MSG_FILE_ALLOCATION_DISPATCH, util::itos(newCUID).c_str())); + A2_LOG_INFO(fmt(MSG_FILE_ALLOCATION_DISPATCH, newCUID)); FileAllocationCommand* command = new FileAllocationCommand(newCUID, entry->getRequestGroup(), getDownloadEngine(), entry); |
