diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-29 20:28:26 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-29 20:28:26 +0200 |
commit | 07768a871691433e2f3c490aa14c45cde40e00b4 (patch) | |
tree | ebbed7642368809834f1a502b0b4a165f41559b9 /src/Client | |
parent | cc617dba41d5acfc43552847cdd747e7ea8c67da (diff) | |
download | mad-07768a871691433e2f3c490aa14c45cde40e00b4.tar mad-07768a871691433e2f3c490aa14c45cde40e00b4.zip |
Status in HostInfo hei?t jetzt State
Diffstat (limited to 'src/Client')
-rw-r--r-- | src/Client/CommandParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Client/CommandParser.cpp b/src/Client/CommandParser.cpp index a271a7e..bc179fa 100644 --- a/src/Client/CommandParser.cpp +++ b/src/Client/CommandParser.cpp @@ -106,7 +106,7 @@ void CommandParser::listHostsCommand(const std::vector<std::string> &args) { bool output = false; for(std::map<std::string, Common::HostInfo>::const_iterator host = hosts.begin(); host != hosts.end(); ++host) { - if(host->second.getStatus() == Common::HostInfo::INACTIVE) + if(host->second.getState() == Common::HostInfo::INACTIVE) continue; if(!output) { @@ -130,7 +130,7 @@ void CommandParser::listHostsCommand(const std::vector<std::string> &args) { std::cout << "Host list:" << std::endl; for(std::map<std::string, Common::HostInfo>::const_iterator host = hosts.begin(); host != hosts.end(); ++host) { - std::cout << " " << host->first << " (" << (host->second.getStatus() == Common::HostInfo::RUNNING ? "running" : "inactive") << ")" << std::endl; + std::cout << " " << host->first << " (" << (host->second.getState() == Common::HostInfo::RUNNING ? "running" : "inactive") << ")" << std::endl; } } else { |