From 9fa9cb8fa13049fa4ba28d31159b4e1a0c6c0432 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 12 Jun 2005 12:32:14 +0000 Subject: Some cleanups mostly in account class formatting. --- src/connectionhandler.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/connectionhandler.cpp') diff --git a/src/connectionhandler.cpp b/src/connectionhandler.cpp index 6099280..5f09e9c 100644 --- a/src/connectionhandler.cpp +++ b/src/connectionhandler.cpp @@ -31,6 +31,11 @@ #define MAX_CLIENTS 1024 +ClientData::ClientData(): + inp(0) +{ +} + ConnectionHandler::ConnectionHandler() { } @@ -106,6 +111,8 @@ void ConnectionHandler::startListen(ListenThreadData *ltd) } else { + // Copy the incoming data to the in buffer of this + // client buffer[result] = 0; logger->log("Received %s", buffer); #ifdef SCRIPT_SUPPORT -- cgit