summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityDispatcherCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-08 15:02:20 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-08 15:02:20 +0000
commit9afc36152a1ce428243a3ace608d0508716a2efb (patch)
tree2e144d04570a058f3e2716d7b98f16803392cdbe /src/CheckIntegrityDispatcherCommand.cc
parent7cd9b21937c42606354610c7ae85a0857b474cf5 (diff)
2010-06-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made protected member variables of Command private. Added accessor funcs.
Diffstat (limited to 'src/CheckIntegrityDispatcherCommand.cc')
-rw-r--r--src/CheckIntegrityDispatcherCommand.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CheckIntegrityDispatcherCommand.cc b/src/CheckIntegrityDispatcherCommand.cc
index 5ab70128..388253e2 100644
--- a/src/CheckIntegrityDispatcherCommand.cc
+++ b/src/CheckIntegrityDispatcherCommand.cc
@@ -57,9 +57,10 @@ Command* CheckIntegrityDispatcherCommand::createCommand
(const SharedHandle<CheckIntegrityEntry>& entry)
{
cuid_t newCUID = _e->newCUID();
- if(logger->info()) {
- logger->info("CUID#%s - Dispatching CheckIntegrityCommand CUID#%s.",
- util::itos(cuid).c_str(), util::itos(newCUID).c_str());
+ 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);