diff options
Diffstat (limited to 'src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp')
-rw-r--r-- | src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp b/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp index c0e4b9f..b9dc030 100644 --- a/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp +++ b/src/Core/RequestHandlers/DaemonFSInfoRequestHandler.cpp @@ -48,7 +48,7 @@ void DaemonFSInfoRequestHandler::handlePacket(Net::Connection *connection, uint1 try { Net::Connection *daemonCon = ConnectionManager::get()->getDaemonConnection(packet["daemon"]); - Common::RequestManager::get()->sendRequest(daemonCon, std::auto_ptr<Common::XmlRequest>(new Common::Requests::FSInfoRequest(sigc::mem_fun(this, &DaemonFSInfoRequestHandler::requestFinished)))); + Common::RequestManager::get()->sendRequest(daemonCon, std::auto_ptr<Common::Request>(new Common::Requests::FSInfoRequest(sigc::mem_fun(this, &DaemonFSInfoRequestHandler::requestFinished)))); } catch(Common::Exception &e) { Common::XmlPacket ret; @@ -62,7 +62,7 @@ void DaemonFSInfoRequestHandler::handlePacket(Net::Connection *connection, uint1 } } -void DaemonFSInfoRequestHandler::requestFinished(const Common::XmlRequest &request) { +void DaemonFSInfoRequestHandler::requestFinished(const Common::Request &request) { try { const Common::XmlPacket &packet = request.getResult(); con->send(packet.encode(requestId)); |