(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time

This commit is contained in:
rubidium
2009-06-19 20:26:18 +00:00
parent 83f8d52a67
commit 9b156c1bd4
10 changed files with 27 additions and 31 deletions

View File

@@ -27,10 +27,10 @@ NetworkTCPSocketHandler::~NetworkTCPSocketHandler()
this->sock = INVALID_SOCKET;
}
NetworkRecvStatus NetworkTCPSocketHandler::CloseConnection()
NetworkRecvStatus NetworkTCPSocketHandler::CloseConnection(bool error)
{
this->writable = false;
NetworkSocketHandler::CloseConnection();
NetworkSocketHandler::CloseConnection(error);
/* Free all pending and partially received packets */
while (this->packet_queue != NULL) {