summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-01-21 01:38:30 +0000
committersmatz <smatz@openttd.org>2011-01-21 01:38:30 +0000
commit656caf16dbf2010fc742b1dfabcf317f2ab19748 (patch)
tree0c86433a178c72303ca22b19079d71c656ee7e75 /src/network
parent1ac51128f5524023c124873b76c3c7d17830e8a7 (diff)
downloadopenttd-656caf16dbf2010fc742b1dfabcf317f2ab19748.tar.xz
(svn r21875) -Codechange: indentation of some comments was wrong
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/tcp_listen.h2
-rw-r--r--src/network/network_client.cpp4
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;
}