summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-10 16:34:01 +0000
committerdominik <dominik@openttd.org>2004-08-10 16:34:01 +0000
commit6c87ef6c65c1f520f1f471ded8e0a1fb7c4fb3a2 (patch)
tree301337254d53aa88dda38ddfcea0c33dceeb4ca7 /network.c
parent4d148bf0fa63fb36f253bdaf57e52280881945cb (diff)
downloadopenttd-6c87ef6c65c1f520f1f471ded8e0a1fb7c4fb3a2.tar.xz
(svn r9) Fixed a couple of warnings and minor coding issues
Diffstat (limited to 'network.c')
-rw-r--r--network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network.c b/network.c
index dd32030d9..4ddf34fca 100644
--- a/network.c
+++ b/network.c
@@ -1173,7 +1173,7 @@ bool NetworkUDPSearchServer() {
}
-#else // ENABLE_NETWORK
+#else // not ENABLE_NETWORK
// stubs
void NetworkInitialize(const char *hostname) {}
@@ -1187,5 +1187,5 @@ void NetworkProcessCommands() {}
void NetworkStartSync() {}
void NetworkUDPListen(int port) {}
void NetworkUDPReceive() {}
-bool NetworkUDPSearchServer() {}
+bool NetworkUDPSearchServer() { return false; }
#endif // ENABLE_NETWORK