From 9b156c1bd433fd231868a70dad719c6972858072 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 19 Jun 2009 20:26:18 +0000 Subject: (svn r16601) -Fix [FS#2880]: try 2... hopefully better this time --- src/network/core/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/network/core/core.h') diff --git a/src/network/core/core.h b/src/network/core/core.h index 4fca89f54..89c316402 100644 --- a/src/network/core/core.h +++ b/src/network/core/core.h @@ -50,9 +50,10 @@ public: /** * Close the current connection; for TCP this will be mostly equivalent * to Close(), but for UDP it just means the packet has to be dropped. + * @param error Whether we quit under an error condition or not. * @return new status of the connection. */ - virtual NetworkRecvStatus CloseConnection() { this->has_quit = true; return NETWORK_RECV_STATUS_OKAY; } + virtual NetworkRecvStatus CloseConnection(bool error = true) { this->has_quit = true; return NETWORK_RECV_STATUS_OKAY; } /** * Whether the current client connected to the socket has quit. -- cgit v1.2.3-54-g00ecf