diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-09 14:47:13 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-09 14:47:13 +0000 |
| commit | f114c890961ef9a0f7666b077b40d22f39b6cdd3 (patch) | |
| tree | ba0ce6530430b19e4419adc606e5725ddb72bb99 /src/CheckIntegrityDispatcherCommand.cc | |
| parent | d4dfb6c4a8cfb2262d19a291e53870bf98e2f82a (diff) | |
2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made protected member variable private. Added accessor funcs.
* src/ActivePeerConnectionCommand.cc
* src/ActivePeerConnectionCommand.h
* src/CheckIntegrityDispatcherCommand.cc
* src/DHTEntryPointNameResolveCommand.h
* src/DHTInteractionCommand.h
* src/FileAllocationDispatcherCommand.cc
* src/LpdReceiveMessageCommand.h
* src/PeerChokeCommand.cc
* src/PeerChokeCommand.h
* src/PeerListenCommand.cc
* src/PeerListenCommand.h
* src/SeedCheckCommand.cc
* src/SeedCheckCommand.h
* src/SequentialDispatcherCommand.h
* src/SleepCommand.cc
* src/SleepCommand.h
* src/TrackerWatcherCommand.cc
* src/TrackerWatcherCommand.h
Diffstat (limited to 'src/CheckIntegrityDispatcherCommand.cc')
| -rw-r--r-- | src/CheckIntegrityDispatcherCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CheckIntegrityDispatcherCommand.cc b/src/CheckIntegrityDispatcherCommand.cc index 388253e2..bb0b1b16 100644 --- a/src/CheckIntegrityDispatcherCommand.cc +++ b/src/CheckIntegrityDispatcherCommand.cc @@ -56,14 +56,14 @@ CheckIntegrityDispatcherCommand::CheckIntegrityDispatcherCommand Command* CheckIntegrityDispatcherCommand::createCommand (const SharedHandle<CheckIntegrityEntry>& entry) { - cuid_t newCUID = _e->newCUID(); + cuid_t newCUID = getDownloadEngine()->newCUID(); if(getLogger()->info()) { getLogger()->info("CUID#%s - Dispatching CheckIntegrityCommand CUID#%s.", util::itos(getCuid()).c_str(), util::itos(newCUID).c_str()); } return new CheckIntegrityCommand - (newCUID, entry->getRequestGroup(), _e, entry); + (newCUID, entry->getRequestGroup(), getDownloadEngine(), entry); } } // namespace aria2 |
