diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-06-25 15:18:14 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-06-25 19:56:11 +0000 |
commit | 56d249e5ad798f65a6cf97ecc9ae22b4c86ddf5b (patch) | |
tree | 737483763195e9993fbb739b2118a591f5e439a5 /toxcore/tox_api.c | |
parent | d22332dd505b5a269d379863a091d74522fce27b (diff) |
Add a MAX_HOSTNAME_LENGTH constant.
Fixes #946.
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r-- | toxcore/tox_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/tox_api.c b/toxcore/tox_api.c index 8fee8c80..31f21158 100644 --- a/toxcore/tox_api.c +++ b/toxcore/tox_api.c | |||
@@ -29,6 +29,7 @@ CONST_FUNCTION(max_custom_packet_size, MAX_CUSTOM_PACKET_SIZE) | |||
29 | CONST_FUNCTION(hash_length, HASH_LENGTH) | 29 | CONST_FUNCTION(hash_length, HASH_LENGTH) |
30 | CONST_FUNCTION(file_id_length, FILE_ID_LENGTH) | 30 | CONST_FUNCTION(file_id_length, FILE_ID_LENGTH) |
31 | CONST_FUNCTION(max_filename_length, MAX_FILENAME_LENGTH) | 31 | CONST_FUNCTION(max_filename_length, MAX_FILENAME_LENGTH) |
32 | CONST_FUNCTION(max_hostname_length, MAX_HOSTNAME_LENGTH) | ||
32 | 33 | ||
33 | 34 | ||
34 | #define ACCESSORS(type, ns, name) \ | 35 | #define ACCESSORS(type, ns, name) \ |