summaryrefslogtreecommitdiffstats
path: root/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-11-19 16:15:17 +0100
committerMatthias Schiffer <matthias@gamezock.de>2008-11-19 16:15:17 +0100
commit854421e2c144ab6454d67beb6640579ad13f1a1f (patch)
tree9856477c9a685be6355b9ef4f0c9485befac3192 /src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
parenta3b3e7d83cab57673ba3daf5d71244598cf73f0c (diff)
downloadmad-854421e2c144ab6454d67beb6640579ad13f1a1f.tar
mad-854421e2c144ab6454d67beb6640579ad13f1a1f.zip
Kurze statische get()-Methoden
Diffstat (limited to 'src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp')
-rw-r--r--src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp b/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
index 1267520..3d371a9 100644
--- a/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
+++ b/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp
@@ -46,8 +46,8 @@ void DaemonFSInfoRequestHandler::handlePacket(Net::Connection *connection, const
std::string daemonName((char*)packet.getData(), packet.getLength());
try {
- Net::Connection *daemonCon = ConnectionManager::getConnectionManager()->getDaemonConnection(daemonName);
- Common::RequestManager::getRequestManager()->sendRequest(daemonCon, std::auto_ptr<Common::RequestBase>(new Common::Requests::FSInfoRequest(sigc::mem_fun(this, &DaemonFSInfoRequestHandler::requestFinished))));
+ Net::Connection *daemonCon = ConnectionManager::get()->getDaemonConnection(daemonName);
+ Common::RequestManager::get()->sendRequest(daemonCon, std::auto_ptr<Common::RequestBase>(new Common::Requests::FSInfoRequest(sigc::mem_fun(this, &DaemonFSInfoRequestHandler::requestFinished))));
}
catch(Common::Exception &e) {
connection->send(Net::Packets::ErrorPacket(Net::Packet::ERROR, packet.getRequestId(), e));