From f89d6bea0ef8d198027c7bcaed5c457aaa228330 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 14 Jan 2010 21:48:42 +0000 Subject: (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. --- src/network/core/tcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/core/tcp.h') 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(); -- cgit v1.2.3-54-g00ecf