From 4f5a8b15edea385f5eadbe9bb40927d07576a61d Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 22 Jan 2009 10:09:56 +0000 Subject: (svn r15206) -Fix [FS#2567]: memory corruption due to not properly cleanup up the mess when cancelling a download --- src/network/core/tcp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/core/tcp.h') 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(); -- cgit v1.2.3-54-g00ecf