summaryrefslogtreecommitdiff
path: root/src/network/network_udp.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-10 20:18:48 +0000
committerrubidium <rubidium@openttd.org>2009-04-10 20:18:48 +0000
commit2663ad302f366ecd2498a43470855c4cf73839d6 (patch)
treea6e4b4d85cbe3a6448e01b6ffc8ba0e9efe25b56 /src/network/network_udp.h
parent238742ee036f483f12a84ba7033fc8ef67506201 (diff)
downloadopenttd-2663ad302f366ecd2498a43470855c4cf73839d6.tar.xz
(svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary.
Diffstat (limited to 'src/network/network_udp.h')
-rw-r--r--src/network/network_udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_udp.h b/src/network/network_udp.h
index 57a29a49c..ac1a131b7 100644
--- a/src/network/network_udp.h
+++ b/src/network/network_udp.h
@@ -12,7 +12,7 @@ void NetworkUDPSearchGame();
void NetworkUDPQueryMasterServer();
void NetworkUDPQueryServer(NetworkAddress address, bool manually = false);
void NetworkUDPAdvertise();
-void NetworkUDPRemoveAdvertise();
+void NetworkUDPRemoveAdvertise(bool blocking);
void NetworkUDPClose();
#endif /* ENABLE_NETWORK */