diff options
author | rubidium <rubidium@openttd.org> | 2009-06-19 20:26:18 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-06-19 20:26:18 +0000 |
commit | 9b156c1bd433fd231868a70dad719c6972858072 (patch) | |
tree | f60f2169c27f97bee6ccd6f37ce4fc4bc25702ef /src/network/core/tcp.h | |
parent | 83f8d52a6770634f503282e4c9407a54f1825255 (diff) | |
download | openttd-9b156c1bd433fd231868a70dad719c6972858072.tar.xz |
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
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 7e4964813..1ced4bd6e 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -29,7 +29,7 @@ public: */ bool IsConnected() const { return this->sock != INVALID_SOCKET; } - virtual NetworkRecvStatus CloseConnection(); + virtual NetworkRecvStatus CloseConnection(bool error = true); void Send_Packet(Packet *packet); bool Send_Packets(); bool IsPacketQueueEmpty(); |