summaryrefslogtreecommitdiff
path: root/src/DownloadEngineFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-01-24 09:49:37 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-01-24 09:49:37 +0000
commita20aa3c7e544c0fc32fb1d8a5f04b24cfd026267 (patch)
tree6dd27346a525c639e02d27a7d27ec8012d1cb107 /src/DownloadEngineFactory.cc
parent8ca9db9f3ee007d40b85339f81a39ea3c1a22616 (diff)
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten FileAllocationDispatcherCommand using brand new SequentialDispatcherCommand. * src/DownloadEngineFactory.cc * src/FileAllocationCommand.cc * src/FileAllocationDispatcherCommand.cc * src/FileAllocationDispatcherCommand.h * src/Makefile.am * src/SequentialDispatcherCommand.h
Diffstat (limited to 'src/DownloadEngineFactory.cc')
-rw-r--r--src/DownloadEngineFactory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DownloadEngineFactory.cc b/src/DownloadEngineFactory.cc
index a8b826a9..206e9e06 100644
--- a/src/DownloadEngineFactory.cc
+++ b/src/DownloadEngineFactory.cc
@@ -116,8 +116,8 @@ DownloadEngineFactory::newDownloadEngine(Option* op,
e->_checkIntegrityMan.reset(new CheckIntegrityMan());
#endif // ENABLE_MESSAGE_DIGEST
e->addRoutineCommand(new FillRequestGroupCommand(e->newCUID(), e.get(), 1));
- e->addRoutineCommand(new FileAllocationDispatcherCommand(e->newCUID(),
- e.get()));
+ e->addRoutineCommand(new FileAllocationDispatcherCommand
+ (e->newCUID(), e->_fileAllocationMan, e.get()));
if(op->getAsInt(PREF_AUTO_SAVE_INTERVAL) > 0) {
e->addRoutineCommand
(new AutoSaveCommand(e->newCUID(), e.get(),