diff options
Diffstat (limited to 'protocols/Tox/tox/include')
-rw-r--r-- | protocols/Tox/tox/include/tox.h | 3 | ||||
-rw-r--r-- | protocols/Tox/tox/include/toxdns.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/protocols/Tox/tox/include/tox.h b/protocols/Tox/tox/include/tox.h index ccb5a83e0f..52069f8698 100644 --- a/protocols/Tox/tox/include/tox.h +++ b/protocols/Tox/tox/include/tox.h @@ -870,6 +870,9 @@ uint32_t tox_size(const Tox *tox); void tox_save(const Tox *tox, uint8_t *data); /* Load the messenger from data of size length. + * NOTE: The Tox save format isn't stable yet meaning this function sometimes + * returns -1 when loading older saves. This however does not mean nothing was + * loaded from the save. * * returns 0 on success * returns -1 on failure diff --git a/protocols/Tox/tox/include/toxdns.h b/protocols/Tox/tox/include/toxdns.h index e39e23603c..06071b82d6 100644 --- a/protocols/Tox/tox/include/toxdns.h +++ b/protocols/Tox/tox/include/toxdns.h @@ -24,12 +24,12 @@ #ifndef TOXDNS_H #define TOXDNS_H -#include <stdint.h> - #ifdef __cplusplus extern "C" { #endif +#include <stdint.h> + /* Clients are encouraged to set this as the maximum length names can have. */ #define TOXDNS_MAX_RECOMMENDED_NAME_LENGTH 32 |