diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
| commit | ca4940622c05e50a50f77c621ade914029663446 (patch) | |
| tree | 2715d87c6b4faa669ae317f6f95d9694630cd4a0 /src/TimedHaltCommand.cc | |
| parent | ae957baa98d4f97ea2437596db5073f9c33d22ae (diff) | |
2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed naming standards for class member variable: now it looks
like var_ instead of _var.
Diffstat (limited to 'src/TimedHaltCommand.cc')
| -rw-r--r-- | src/TimedHaltCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TimedHaltCommand.cc b/src/TimedHaltCommand.cc index ee3250f2..30d72ec7 100644 --- a/src/TimedHaltCommand.cc +++ b/src/TimedHaltCommand.cc @@ -48,7 +48,7 @@ TimedHaltCommand::TimedHaltCommand(cuid_t cuid, DownloadEngine* e, time_t secondsToHalt, bool forceHalt): TimeBasedCommand(cuid, e, secondsToHalt, true), - _forceHalt(forceHalt) {} + forceHalt_(forceHalt) {} TimedHaltCommand::~TimedHaltCommand() {} @@ -64,7 +64,7 @@ void TimedHaltCommand::process() { if(!getDownloadEngine()->isHaltRequested()) { getLogger()->notice(MSG_TIME_HAS_PASSED, getInterval()); - if(_forceHalt) { + if(forceHalt_) { getLogger()->notice("This is emergency shutdown."); getDownloadEngine()->requestForceHalt(); } else { |
