diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-14 18:04:25 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-14 18:04:25 +0000 |
commit | 715d0c3952a3a1d59b64074e472d0a9a3b414351 (patch) | |
tree | a5d0ddd0613caaf4f9fe01f9a3bd34e823651ad5 /src/net/tcpconnection.cc | |
parent | 83e8023c5e46635753a609329cf9805a3520001e (diff) |
dedicated server accepts incoming connections
Diffstat (limited to 'src/net/tcpconnection.cc')
-rw-r--r-- | src/net/tcpconnection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |