From 1508969d508e41de824d1d1227be708136760cfa Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 8 Jul 2008 22:31:29 +0200 Subject: Request-Verarbeitung ?berarbeitet --- src/madc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/madc.cpp') 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(); -- cgit v1.2.3