summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-21 11:17:40 +0000
committerrubidium <rubidium@openttd.org>2010-01-21 11:17:40 +0000
commitf608ad7bafab32db9a16c0d5e1aeab23b3860389 (patch)
tree014217639f652c966575c58cc47e399a7d1046ad /src/network/core
parente130e4e9bacf704fc6e9eebf20d35fe5918227af (diff)
downloadopenttd-f608ad7bafab32db9a16c0d5e1aeab23b3860389.tar.xz
(svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h
index 9dac7ebe5..03f3e3b06 100644
--- a/src/network/core/config.h
+++ b/src/network/core/config.h
@@ -36,9 +36,9 @@ enum {
NETWORK_NAME_LENGTH = 80, ///< The maximum length of the server name and map name, in bytes including '\0'
NETWORK_COMPANY_NAME_LENGTH = 31, ///< The maximum length of the company name, in bytes including '\0'
NETWORK_HOSTNAME_LENGTH = 80, ///< The maximum length of the host name, in bytes including '\0'
- NETWORK_UNIQUE_ID_LENGTH = 33, ///< The maximum length of the unique id of the clients, in bytes including '\0'
+ NETWORK_SERVER_ID_LENGTH = 33, ///< The maximum length of the network id of the servers, in bytes including '\0'
NETWORK_REVISION_LENGTH = 15, ///< The maximum length of the revision, in bytes including '\0'
- NETWORK_PASSWORD_LENGTH = 33, ///< The maximum length of the password, in bytes including '\0' (must be >= NETWORK_UNIQUE_ID_LENGTH)
+ NETWORK_PASSWORD_LENGTH = 33, ///< The maximum length of the password, in bytes including '\0' (must be >= NETWORK_SERVER_ID_LENGTH)
NETWORK_CLIENTS_LENGTH = 200, ///< The maximum length for the list of clients that controls a company, in bytes including '\0'
NETWORK_CLIENT_NAME_LENGTH = 25, ///< The maximum length of a client's name, in bytes including '\0'
NETWORK_RCONCOMMAND_LENGTH = 500, ///< The maximum length of a rconsole command, in bytes including '\0'