summaryrefslogtreecommitdiff
path: root/protocols/Tox/libtox/src/toxcore/tox.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-07-21 13:14:47 +0300
committeraunsane <aunsane@gmail.com>2018-07-21 13:14:47 +0300
commit5db1ff0c224b88e0d545f6e6e2858ceb638893ac (patch)
tree37d08393980b6a5347d1f8d8f647cb23418bdd1b /protocols/Tox/libtox/src/toxcore/tox.h
parent868597861af9aeef8b8e9e7573f12a9c2193a7f0 (diff)
Tox: libtox update to v0.2.4
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/tox.h')
-rw-r--r--protocols/Tox/libtox/src/toxcore/tox.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Tox/libtox/src/toxcore/tox.h b/protocols/Tox/libtox/src/toxcore/tox.h
index 6a4df16dce..f8279afeee 100644
--- a/protocols/Tox/libtox/src/toxcore/tox.h
+++ b/protocols/Tox/libtox/src/toxcore/tox.h
@@ -183,7 +183,7 @@ uint32_t tox_version_minor(void);
* The patch or revision number. Incremented when bugfixes are applied without
* changing any functionality or API or ABI.
*/
-#define TOX_VERSION_PATCH 3
+#define TOX_VERSION_PATCH 4
uint32_t tox_version_patch(void);
@@ -345,12 +345,12 @@ uint32_t tox_max_filename_length(void);
/**
* Maximum length of a hostname, e.g. proxy or bootstrap node names.
*
- * This length includes the NUL byte. Hostnames are NUL-terminated C strings, so
- * they are 255 characters plus one NUL byte.
+ * This length does not include the NUL byte. Hostnames are NUL-terminated C
+ * strings, so they are 255 characters plus one NUL byte.
*
* @deprecated The macro will be removed in 0.3.0. Use the function instead.
*/
-#define TOX_MAX_HOSTNAME_LENGTH 256
+#define TOX_MAX_HOSTNAME_LENGTH 255
uint32_t tox_max_hostname_length(void);