summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-01-27 15:40:29 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-02-03 18:00:16 +0100
commitc511b0e8017173bd9fee65a34dda23fc15c6644b (patch)
tree11c16634e879cf3fdeb70f56ea099496b1f6a0da /src/network
parentcd757ecbf4e9f56ff57328436841e3d1abaa6360 (diff)
downloadopenttd-c511b0e8017173bd9fee65a34dda23fc15c6644b.tar.xz
Change: Increase NETWORK_REVISION_LENGTH to 33 bytes
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h
index f5e73dd12..f6823b1a9 100644
--- a/src/network/core/config.h
+++ b/src/network/core/config.h
@@ -43,7 +43,7 @@ static const uint NETWORK_NAME_LENGTH = 80; ///< The maxim
static const uint NETWORK_COMPANY_NAME_LENGTH = 128; ///< The maximum length of the company name, in bytes including '\0'
static const uint NETWORK_HOSTNAME_LENGTH = 80; ///< The maximum length of the host name, in bytes including '\0'
static const uint NETWORK_SERVER_ID_LENGTH = 33; ///< The maximum length of the network id of the servers, in bytes including '\0'
-static const uint NETWORK_REVISION_LENGTH = 15; ///< The maximum length of the revision, in bytes including '\0'
+static const uint NETWORK_REVISION_LENGTH = 33; ///< The maximum length of the revision, in bytes including '\0'
static const uint NETWORK_PASSWORD_LENGTH = 33; ///< The maximum length of the password, in bytes including '\0' (must be >= NETWORK_SERVER_ID_LENGTH)
static const uint NETWORK_CLIENTS_LENGTH = 200; ///< The maximum length for the list of clients that controls a company, in bytes including '\0'
static const uint NETWORK_CLIENT_NAME_LENGTH = 25; ///< The maximum length of a client's name, in bytes including '\0'