summaryrefslogtreecommitdiffstats
path: root/src/madc.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-07-08 22:31:29 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-07-08 22:31:29 +0200
commit1508969d508e41de824d1d1227be708136760cfa (patch)
tree8950d27e708ac8f0451f14c94c8cf76b0ce15877 /src/madc.cpp
parent4cd88a87e66dbbb9be4137de04ad79c97ac5bf2c (diff)
downloadmad-1508969d508e41de824d1d1227be708136760cfa.tar
mad-1508969d508e41de824d1d1227be708136760cfa.zip
Request-Verarbeitung ?berarbeitet
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();