diff options
author | truelight <truelight@openttd.org> | 2007-10-30 11:29:01 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-10-30 11:29:01 +0000 |
commit | 9cf6fe8bca241a8321ce346af2a7cc395bb0d08b (patch) | |
tree | 431686553f05217dc4e139907ec73d451f10e9ce /src/network/core | |
parent | 3d150b623070d35db3cd9cb179118e207874b2e2 (diff) | |
download | openttd-9cf6fe8bca241a8321ce346af2a7cc395bb0d08b.tar.xz |
(svn r11357) -Fix: NetworkUniqueID could be 80 chars, while the max size we generate is 32. So reduce the size a bit. Pointed out by dihedral, so give him a big hug ;)
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h index d8dbdb274..6fcbf7da2 100644 --- a/src/network/core/config.h +++ b/src/network/core/config.h @@ -27,6 +27,7 @@ enum { NETWORK_NAME_LENGTH = 80, ///< The maximum length of the server name and map 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_REVISION_LENGTH = 15, ///< The maximum length of the revision, in bytes including '\0' NETWORK_PASSWORD_LENGTH = 20, ///< The maximum length of the password, in bytes including '\0' NETWORK_PLAYERS_LENGTH = 200, ///< The maximum length for the list of players that controls a company, in bytes including '\0' |