diff options
author | rubidium <rubidium@openttd.org> | 2009-01-22 10:09:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-22 10:09:56 +0000 |
commit | 4f5a8b15edea385f5eadbe9bb40927d07576a61d (patch) | |
tree | 9407b6f5d2c57ed543f7d9315bb6b15169351ab8 /src/network/core/tcp.h | |
parent | 92b9ff3f9660fc2a5ac154a762f7568e40c97ad4 (diff) | |
download | openttd-4f5a8b15edea385f5eadbe9bb40927d07576a61d.tar.xz |
(svn r15206) -Fix [FS#2567]: memory corruption due to not properly cleanup up the mess when cancelling a download
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r-- | src/network/core/tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index 962ea45e5..90edba014 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -22,6 +22,7 @@ private: public: bool writable; ///< Can we write to this socket? + virtual NetworkRecvStatus CloseConnection(); void Send_Packet(Packet *packet); bool Send_Packets(); bool IsPacketQueueEmpty(); |