diff options
| author | Nils Maier <maierman@web.de> | 2014-04-17 01:36:19 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-04-17 18:02:42 +0200 |
| commit | 010131161ebdea22e5b6eb4fd0740e8e6da3df67 (patch) | |
| tree | 3a768bbd2796056c65de9630a6ab6946d4eda43f /src/DownloadEngineFactory.cc | |
| parent | befd799d177c2860ea4e9c6cf8c744342c394427 (diff) | |
Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always
Diffstat (limited to 'src/DownloadEngineFactory.cc')
| -rw-r--r-- | src/DownloadEngineFactory.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/DownloadEngineFactory.cc b/src/DownloadEngineFactory.cc index 39b04f98..fa350589 100644 --- a/src/DownloadEngineFactory.cc +++ b/src/DownloadEngineFactory.cc @@ -43,9 +43,7 @@ #include "FileAllocationMan.h" #include "CheckIntegrityMan.h" #include "CheckIntegrityEntry.h" -#ifdef ENABLE_MESSAGE_DIGEST -# include "CheckIntegrityDispatcherCommand.h" -#endif // ENABLE_MESSAGE_DIGEST +#include "CheckIntegrityDispatcherCommand.h" #include "prefs.h" #include "FillRequestGroupCommand.h" #include "FileAllocationDispatcherCommand.h" @@ -157,19 +155,15 @@ DownloadEngineFactory::newDownloadEngine e->setRequestGroupMan(std::move(requestGroupMan)); } e->setFileAllocationMan(make_unique<FileAllocationMan>()); -#ifdef ENABLE_MESSAGE_DIGEST e->setCheckIntegrityMan(make_unique<CheckIntegrityMan>()); -#endif // ENABLE_MESSAGE_DIGEST e->addRoutineCommand(make_unique<FillRequestGroupCommand> (e->newCUID(), e.get())); e->addRoutineCommand(make_unique<FileAllocationDispatcherCommand> (e->newCUID(), e->getFileAllocationMan().get(), e.get())); -#ifdef ENABLE_MESSAGE_DIGEST e->addRoutineCommand(make_unique<CheckIntegrityDispatcherCommand> (e->newCUID(), e->getCheckIntegrityMan().get(), e.get())); -#endif // ENABLE_MESSAGE_DIGEST if(op->getAsInt(PREF_AUTO_SAVE_INTERVAL) > 0) { e->addRoutineCommand |
