summaryrefslogtreecommitdiff
path: root/src/Command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Command.cc')
-rw-r--r--src/Command.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Command.cc b/src/Command.cc
index 03d4b66d..42ac5b37 100644
--- a/src/Command.cc
+++ b/src/Command.cc
@@ -41,9 +41,9 @@ namespace aria2 {
int32_t Command::uuidGen = 0;
Command::Command(cuid_t cuid):uuid(uuidGen++),
- status(STATUS_INACTIVE),
- cuid(cuid),
- logger(LogFactory::getInstance()),
+ _status(STATUS_INACTIVE),
+ _cuid(cuid),
+ _logger(LogFactory::getInstance()),
_readEvent(false),
_writeEvent(false),
_errorEvent(false),
@@ -51,17 +51,17 @@ Command::Command(cuid_t cuid):uuid(uuidGen++),
void Command::transitStatus()
{
- switch(status) {
+ switch(_status) {
case STATUS_REALTIME:
break;
default:
- status = STATUS_INACTIVE;
+ _status = STATUS_INACTIVE;
}
}
void Command::setStatus(STATUS status)
{
- this->status = status;
+ _status = status;
}
void Command::readEventReceived()