From b2c03934a8f09641d88b6c56f371e554138b838d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 12 Apr 2010 12:57:54 +0000 Subject: [PATCH] 2010-04-12 Tatsuhiro Tsujikawa Removed redundant method call for DownloadEngine. * src/DownloadCommand.cc --- ChangeLog | 5 +++++ src/DownloadCommand.cc | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 70682c61..f2592bf2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-12 Tatsuhiro Tsujikawa + + Removed redundant method call for DownloadEngine. + * src/DownloadCommand.cc + 2010-04-12 Tatsuhiro Tsujikawa Fixed the bug that hash check hangs when aria2.pause is issued diff --git a/src/DownloadCommand.cc b/src/DownloadCommand.cc index b01e2c40..f886fc3c 100644 --- a/src/DownloadCommand.cc +++ b/src/DownloadCommand.cc @@ -292,8 +292,6 @@ bool DownloadCommand::prepareForNextSegment() { // TODO do we need cuttrailinggarbage here? e->_checkIntegrityMan->pushEntry(entry); } - e->setNoWait(true); - e->setRefreshInterval(0); #endif // ENABLE_MESSAGE_DIGEST return true; } else {