diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-30 14:56:33 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-30 14:56:33 +0200 |
commit | 241f1947580df7f905ed3d6969cc3a6a4bb99f5a (patch) | |
tree | 92c40dbf873b21c66cad7734a52b13a06178d0c7 /src/Server/RequestHandlers | |
parent | a158d1f367759bf0c110b2fdb21d7c00f5a9cea6 (diff) | |
download | mad-241f1947580df7f905ed3d6969cc3a6a4bb99f5a.tar mad-241f1947580df7f905ed3d6969cc3a6a4bb99f5a.zip |
ConnectionManager: Forgot to get the daemon list from the ConfigManager
Diffstat (limited to 'src/Server/RequestHandlers')
-rw-r--r-- | src/Server/RequestHandlers/ConnectionRequestHandlerGroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server/RequestHandlers/ConnectionRequestHandlerGroup.cpp b/src/Server/RequestHandlers/ConnectionRequestHandlerGroup.cpp index a1c492b..8045db1 100644 --- a/src/Server/RequestHandlers/ConnectionRequestHandlerGroup.cpp +++ b/src/Server/RequestHandlers/ConnectionRequestHandlerGroup.cpp @@ -86,7 +86,7 @@ void ConnectionRequestHandlerGroup::handleDaemonListRequest(boost::shared_ptr<co Common::XmlData::List::iterator entry = list->addEntry(); entry->set("name", daemon->getName()); - entry->set("address", daemon->getIP().c_str()); + entry->set("address", daemon->getIP()); entry->set("state", daemon->getState()); } } |