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_content.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/network/core/tcp_content.cpp') diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp index 32054a1e2..7596cced8 100644 --- a/src/network/core/tcp_content.cpp +++ b/src/network/core/tcp_content.cpp @@ -50,12 +50,6 @@ bool ContentInfo::IsValid() const return this->state < ContentInfo::INVALID && this->type >= CONTENT_TYPE_BEGIN && this->type < CONTENT_TYPE_END; } -NetworkRecvStatus NetworkContentSocketHandler::CloseConnection() -{ - this->has_quit = true; - return NETWORK_RECV_STATUS_OKAY; -} - void NetworkContentSocketHandler::Close() { CloseConnection(); -- cgit v1.2.3-54-g00ecf