summaryrefslogtreecommitdiff
path: root/src/network/core/udp.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-06-19 20:26:18 +0000
committerrubidium <rubidium@openttd.org>2009-06-19 20:26:18 +0000
commit9b156c1bd433fd231868a70dad719c6972858072 (patch)
treef60f2169c27f97bee6ccd6f37ce4fc4bc25702ef /src/network/core/udp.h
parent83f8d52a6770634f503282e4c9407a54f1825255 (diff)
downloadopenttd-9b156c1bd433fd231868a70dad719c6972858072.tar.xz
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
Diffstat (limited to 'src/network/core/udp.h')
-rw-r--r--src/network/core/udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/udp.h b/src/network/core/udp.h
index 6f68c213d..226cbb0df 100644
--- a/src/network/core/udp.h
+++ b/src/network/core/udp.h
@@ -110,7 +110,7 @@ protected:
/** The opened sockets. */
SocketList sockets;
- NetworkRecvStatus CloseConnection();
+ NetworkRecvStatus CloseConnection(bool error = true);
/* Declare all possible packets here. If it can be received by the
* a specific handler, it has to be implemented. */