summaryrefslogtreecommitdiffstats
path: root/src/mad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mad.cpp')
-rw-r--r--src/mad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mad.cpp b/src/mad.cpp
index bc218f6..3dfe379 100644
--- a/src/mad.cpp
+++ b/src/mad.cpp
@@ -36,7 +36,7 @@
using namespace Mad;
-static void requestFinished(const Common::XmlRequest&) {
+static void requestFinished(const Common::Request&) {
Common::Logger::log("Identified.");
}
@@ -70,7 +70,7 @@ int main() {
//char hostname[256];
//gethostname(hostname, sizeof(hostname));
//Common::RequestManager::get()->sendRequest(connection, std::auto_ptr<Common::XmlRequest>(new Daemon::Requests::IdentifyRequest(hostname, sigc::ptr_fun(requestFinished))));
- Common::RequestManager::get()->sendRequest(connection, std::auto_ptr<Common::XmlRequest>(new Daemon::Requests::IdentifyRequest("test", sigc::ptr_fun(requestFinished))));
+ Common::RequestManager::get()->sendRequest(connection, std::auto_ptr<Common::Request>(new Daemon::Requests::IdentifyRequest("test", sigc::ptr_fun(requestFinished))));
while(connection->isConnected())
Net::FdManager::get()->run();