summaryrefslogtreecommitdiff
path: root/src/FileAllocationDispatcherCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-06-05 11:37:25 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-06-05 11:37:25 +0000
commit2722c0591f3eda48a674748b29889d1cf46d7f71 (patch)
tree152ee2c2eef2c65e583227a1d1faf2d618adb2ea /src/FileAllocationDispatcherCommand.cc
parent3dd06aacfbd6c8a1a027532e34dd21c04731b309 (diff)
2007-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Make download size shown in MB, KB. * src/ConsoleDownloadEngine.h (sendStatistics) * src/Util.h, srcUtil.cc (abbrevSize): New function.
Diffstat (limited to 'src/FileAllocationDispatcherCommand.cc')
-rw-r--r--src/FileAllocationDispatcherCommand.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/FileAllocationDispatcherCommand.cc b/src/FileAllocationDispatcherCommand.cc
index cbad7dcd..796df489 100644
--- a/src/FileAllocationDispatcherCommand.cc
+++ b/src/FileAllocationDispatcherCommand.cc
@@ -48,10 +48,9 @@ bool FileAllocationDispatcherCommand::execute()
entry->getCUID());
FileAllocationCommand* command =
new FileAllocationCommand(entry->getCUID(),
- entry->getCurrentRequest(),
entry->getRequestGroup(),
_e,
- _e->_fileAllocationMan->getCurrentFileAllocationEntry());
+ entry);
_e->commands.push_back(command);
_e->noWait = true;
}