From 715d0c3952a3a1d59b64074e472d0a9a3b414351 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 14 Feb 2008 18:04:25 +0000 Subject: dedicated server accepts incoming connections --- src/net/tcpconnection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tcpconnection.cc') diff --git a/src/net/tcpconnection.cc b/src/net/tcpconnection.cc index 9eaba1f..92bc3d2 100644 --- a/src/net/tcpconnection.cc +++ b/src/net/tcpconnection.cc @@ -142,7 +142,7 @@ void TCPConnection::receive(std::string &msg) memset(recvbuf, '\0', sizeof(recvbuf)); bytes_received = ::recv(tcpconnection_fd, recvbuf, msglen, 0); if (bytes_received == 0) { - con_print << "Server disconnected."; + con_print << "Disconnected."; abort(); return; } else if (bytes_received < 0) { -- cgit v1.2.3