diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-08-24 03:06:32 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-08-24 03:06:32 +0200 |
commit | 84a5ceeb7db03d75425d72e8a23a0bb0f267bc01 (patch) | |
tree | 7a7702429a7cdbc06144b2141eb80ee2aa462d39 /src/Client/SystemCommands.cpp | |
parent | 415cd36477e152c12f91a10ad61bb719373cd9d1 (diff) | |
download | mad-84a5ceeb7db03d75425d72e8a23a0bb0f267bc01.tar mad-84a5ceeb7db03d75425d72e8a23a0bb0f267bc01.zip |
Hash-Klasse hinzugefügt
Diffstat (limited to 'src/Client/SystemCommands.cpp')
-rw-r--r-- | src/Client/SystemCommands.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Client/SystemCommands.cpp b/src/Client/SystemCommands.cpp index 1cc9bc4..f1bcbbd 100644 --- a/src/Client/SystemCommands.cpp +++ b/src/Client/SystemCommands.cpp @@ -168,7 +168,7 @@ void SystemCommands::fsinfoCommand(CommandParser *commandParser, const std::vect std::pair<boost::shared_ptr<const Common::XmlPacket>, Core::Exception> result = request->getResult(); if(!result.first || result.second) { - std::cerr << "An error occurred during your request: " << result.second.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << result.second.what() << "." << std::endl; } else { if(args.size() == 1) @@ -205,7 +205,7 @@ void SystemCommands::rebootCommand(CommandParser *commandParser, const std::vect std::pair<boost::shared_ptr<const Common::XmlPacket>, Core::Exception> result = (*request)->getResult(); if(result.second) - std::cerr << "An error occurred during your request: " << result.second.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << result.second.what() << "." << std::endl; } } @@ -234,7 +234,7 @@ void SystemCommands::shutdownCommand(CommandParser *commandParser, const std::ve std::pair<boost::shared_ptr<const Common::XmlPacket>, Core::Exception> result = (*request)->getResult(); if(result.second) - std::cerr << "An error occurred during your request: " << result.second.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << result.second.what() << "." << std::endl; } } @@ -257,7 +257,7 @@ void SystemCommands::statusCommand(CommandParser *commandParser, const std::vect std::pair<boost::shared_ptr<const Common::XmlPacket>, Core::Exception> result = request->getResult(); if(!result.first || result.second) { - std::cerr << "An error occurred during your request: " << result.second.strerror() << "." << std::endl; + std::cerr << "An error occurred during your request: " << result.second.what() << "." << std::endl; } else { if(args.size() == 1) |