summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-11-26 17:52:59 +0300
committeraunsane <aunsane@gmail.com>2017-11-26 17:53:18 +0300
commit58af0f18891fe0f7cfe10e6998ce365fb5d20d55 (patch)
tree9db167d2524cfde8c34400bbd3bae46de01f85fc
parent8cce73a0d33d76d57faecdf138793255a83426cb (diff)
Tox: updated libtox
-rw-r--r--protocols/Tox/bin/x64/libtox.dllbin2045562 -> 3016025 bytes
-rw-r--r--protocols/Tox/bin/x86/libtox.dllbin1934458 -> 2753946 bytes
-rw-r--r--protocols/Tox/include/tox.h8
-rw-r--r--protocols/Tox/include/toxav.h4
-rw-r--r--protocols/Tox/include/toxencryptsave.h4
-rw-r--r--protocols/Tox/src/version.h2
6 files changed, 10 insertions, 8 deletions
diff --git a/protocols/Tox/bin/x64/libtox.dll b/protocols/Tox/bin/x64/libtox.dll
index eb403d781f..17fde89b19 100644
--- a/protocols/Tox/bin/x64/libtox.dll
+++ b/protocols/Tox/bin/x64/libtox.dll
Binary files differ
diff --git a/protocols/Tox/bin/x86/libtox.dll b/protocols/Tox/bin/x86/libtox.dll
index 4bda6e7c5d..7e392e4665 100644
--- a/protocols/Tox/bin/x86/libtox.dll
+++ b/protocols/Tox/bin/x86/libtox.dll
Binary files differ
diff --git a/protocols/Tox/include/tox.h b/protocols/Tox/include/tox.h
index eb6d5f2f9b..373138c4eb 100644
--- a/protocols/Tox/include/tox.h
+++ b/protocols/Tox/include/tox.h
@@ -180,7 +180,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 9
+#define TOX_VERSION_PATCH 10
uint32_t tox_version_patch(void);
@@ -1622,7 +1622,7 @@ typedef enum TOX_ERR_SET_TYPING {
TOX_ERR_SET_TYPING_OK,
/**
- * The friend ID did not designate a valid friend.
+ * The friend number did not designate a valid friend.
*/
TOX_ERR_SET_TYPING_FRIEND_NOT_FOUND,
@@ -1654,7 +1654,7 @@ typedef enum TOX_ERR_FRIEND_SEND_MESSAGE {
TOX_ERR_FRIEND_SEND_MESSAGE_NULL,
/**
- * The friend ID did not designate a valid friend.
+ * The friend number did not designate a valid friend.
*/
TOX_ERR_FRIEND_SEND_MESSAGE_FRIEND_NOT_FOUND,
@@ -2786,7 +2786,7 @@ typedef enum TOX_ERR_FRIEND_CUSTOM_PACKET {
TOX_ERR_FRIEND_CUSTOM_PACKET_NULL,
/**
- * The friend ID did not designate a valid friend.
+ * The friend number did not designate a valid friend.
*/
TOX_ERR_FRIEND_CUSTOM_PACKET_FRIEND_NOT_FOUND,
diff --git a/protocols/Tox/include/toxav.h b/protocols/Tox/include/toxav.h
index ac6766145c..2a8b90fa5e 100644
--- a/protocols/Tox/include/toxav.h
+++ b/protocols/Tox/include/toxav.h
@@ -192,7 +192,7 @@ typedef enum TOXAV_ERR_CALL {
TOXAV_ERR_CALL_SYNC,
/**
- * The friend ID did not designate a valid friend.
+ * The friend number did not designate a valid friend.
*/
TOXAV_ERR_CALL_FRIEND_NOT_FOUND,
@@ -268,7 +268,7 @@ typedef enum TOXAV_ERR_ANSWER {
TOXAV_ERR_ANSWER_CODEC_INITIALIZATION,
/**
- * The friend ID did not designate a valid friend.
+ * The friend number did not designate a valid friend.
*/
TOXAV_ERR_ANSWER_FRIEND_NOT_FOUND,
diff --git a/protocols/Tox/include/toxencryptsave.h b/protocols/Tox/include/toxencryptsave.h
index ef28f622e8..738d9757cb 100644
--- a/protocols/Tox/include/toxencryptsave.h
+++ b/protocols/Tox/include/toxencryptsave.h
@@ -355,6 +355,8 @@ typedef enum TOX_ERR_GET_SALT {
* If the passed byte arrays are smaller than required, the behaviour is
* undefined.
*
+ * If the cipher text pointer or the salt is NULL, this function returns false.
+ *
* Success does not say anything about the validity of the data, only that
* data of the appropriate size was copied.
*
@@ -372,7 +374,7 @@ bool tox_get_salt(const uint8_t *ciphertext, uint8_t *salt, TOX_ERR_GET_SALT *er
* If the passed byte array is smaller than required, the behaviour is
* undefined.
*
- * If the cipher text pointer is NULL, this function returns false.
+ * If the data pointer is NULL, the behaviour is undefined
*
* @return true if the data is encrypted by this module.
*/
diff --git a/protocols/Tox/src/version.h b/protocols/Tox/src/version.h
index d1bee4045b..79dbe4eff5 100644
--- a/protocols/Tox/src/version.h
+++ b/protocols/Tox/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 11
#define __RELEASE_NUM 1
-#define __BUILD_NUM 25
+#define __BUILD_NUM 26
#include <stdver.h>