summaryrefslogtreecommitdiffstats
path: root/src/madc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/madc.cpp')
-rw-r--r--src/madc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/madc.cpp b/src/madc.cpp
index 3f5d5bc..d6a06e3 100644
--- a/src/madc.cpp
+++ b/src/madc.cpp
@@ -43,8 +43,8 @@ int main() {
requestManager.registerConnection(connection);
- requestManager.sendRequest(connection, Mad::Common::Request::PingRequest());
- requestManager.sendRequest(connection, Mad::Common::Request::DisconnectRequest());
+ Mad::Common::Request::PingRequest::send(connection, requestManager);
+ Mad::Common::Request::DisconnectRequest::send(connection, requestManager);
while(connection->isConnected()) {
struct pollfd fd = connection->getPollfd();