summaryrefslogtreecommitdiff
path: root/src/network/network_internal.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-20 01:32:06 +0000
committerrubidium <rubidium@openttd.org>2009-01-20 01:32:06 +0000
commit4aabc91c04c8fafa4f2be139394ef7e4912bc42f (patch)
treef14ce239c04d4b6e3d7f4dbe6723e777a42cc03f /src/network/network_internal.h
parent0893cb2adfd7eaa729058bdf903c3064c84f707c (diff)
downloadopenttd-4aabc91c04c8fafa4f2be139394ef7e4912bc42f.tar.xz
(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
Diffstat (limited to 'src/network/network_internal.h')
-rw-r--r--src/network/network_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_internal.h b/src/network/network_internal.h
index be78ae772..8065d660b 100644
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -122,7 +122,7 @@ extern uint16 _network_udp_broadcast;
extern uint8 _network_advertise_retries;
-void NetworkTCPQueryServer(const char *host, unsigned short port);
+void NetworkTCPQueryServer(NetworkAddress address);
void NetworkAddServer(const char *b);
void NetworkRebuildHostList();