summaryrefslogtreecommitdiff
path: root/src/DownloadEngineFactory.cc
diff options
context:
space:
mode:
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(),