diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/core/tcp_listen.h | 2 | ||||
-rw-r--r-- | src/network/network_client.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/network/core/tcp_listen.h b/src/network/core/tcp_listen.h index 0223ad42f..9fdf339c3 100644 --- a/src/network/core/tcp_listen.h +++ b/src/network/core/tcp_listen.h @@ -75,7 +75,7 @@ public: /* Can we handle a new client? */ if (!Tsocket::AllowConnection()) { /* no more clients allowed? - * Send to the client that we are full! */ + * Send to the client that we are full! */ Packet p(Tfull_packet); p.PrepareToSend(); diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index 15ad3c6d9..6924777c1 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -209,8 +209,8 @@ void ClientNetworkGameSocketHandler::ClientError(NetworkRecvStatus res) if (my_client->CanSendReceive()) { NetworkRecvStatus res = my_client->ReceivePackets(); if (res != NETWORK_RECV_STATUS_OKAY) { - /* The client made an error of which we can not recover - * close the client and drop back to main menu */ + /* The client made an error of which we can not recover. + * Close the connection and drop back to the main menu. */ my_client->ClientError(res); return false; } |