diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-11-08 10:59:44 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-11-08 10:59:44 +0000 |
| commit | 76b9093d09d76b399823e36c83f1289b37ca2624 (patch) | |
| tree | 94fb6bb2a008c75b0064327223a7555e2dd8b94f /src/AbstractCommand.cc | |
| parent | b4f7588ba285a8e33dc07acfa730491285cba18e (diff) | |
2007-11-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Changed CheckIntegrityEntry interface so that it can define
the action when all the chunk checksums are valid.
* src/CheckIntegrityEntry.h
* src/StreamCheckIntegrityEntry.{h, cc}
* src/BtCheckIntegrityEntry.{h, cc}: Currently,when all the
checksums
are valid, then aira2 goes to seeding mode. Sometimes it is
better
to exit rather than doing seeding. So, it would be good to
toggle this
behavior.
* src/CheckIntegrityCommand.cc
* src/AbstractCommand.cc
* src/RequestGroup.cc
Diffstat (limited to 'src/AbstractCommand.cc')
| -rw-r--r-- | src/AbstractCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc index 809a5485..70155842 100644 --- a/src/AbstractCommand.cc +++ b/src/AbstractCommand.cc @@ -425,6 +425,6 @@ void AbstractCommand::prepareForNextAction(Command* nextCommand) } else #endif // ENABLE_MESSAGE_DIGEST { - e->addCommand(entry->prepareForNextAction(e)); + e->addCommand(entry->onDownloadIncomplete(e)); } } |
