diff options
Diffstat (limited to 'protocols/Tox/include')
-rw-r--r-- | protocols/Tox/include/tox.h | 8 | ||||
-rw-r--r-- | protocols/Tox/include/toxav.h | 4 | ||||
-rw-r--r-- | protocols/Tox/include/toxencryptsave.h | 4 |
3 files changed, 9 insertions, 7 deletions
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. */ |