diff options
author | rubidium <rubidium@openttd.org> | 2010-01-14 21:48:42 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-14 21:48:42 +0000 |
commit | f89d6bea0ef8d198027c7bcaed5c457aaa228330 (patch) | |
tree | a650f94741f7657fb9fdf56f315319b46b64602b /src/network/core/tcp.h | |
parent | 83c8c562bbe006df262bd58d6ab349e3ea3f5349 (diff) | |
download | openttd-f89d6bea0ef8d198027c7bcaed5c457aaa228330.tar.xz |
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r-- | src/network/core/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index 904db99c4..b24e241f1 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -38,7 +38,7 @@ public: virtual NetworkRecvStatus CloseConnection(bool error = true); void Send_Packet(Packet *packet); - bool Send_Packets(); + bool Send_Packets(bool closing_down = false); bool IsPacketQueueEmpty(); Packet *Recv_Packet(); |