summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-10-02 17:37:49 -0400
committerirungentoo <irungentoo@gmail.com>2014-10-02 17:37:49 -0400
commitc7b3b7acbde47ffe4adac09aef3766ace234e79f (patch)
treeca967788c4865e93f141c948340d0ee3f0e16eec
parentdf212234382b3f7f4695311cccc2f27d2bb4d805 (diff)
Fixed tox_load() comment.
-rw-r--r--toxcore/tox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index ccb5a83e..52069f86 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -870,6 +870,9 @@ uint32_t tox_size(const Tox *tox);
870void tox_save(const Tox *tox, uint8_t *data); 870void tox_save(const Tox *tox, uint8_t *data);
871 871
872/* Load the messenger from data of size length. 872/* Load the messenger from data of size length.
873 * NOTE: The Tox save format isn't stable yet meaning this function sometimes
874 * returns -1 when loading older saves. This however does not mean nothing was
875 * loaded from the save.
873 * 876 *
874 * returns 0 on success 877 * returns 0 on success
875 * returns -1 on failure 878 * returns -1 on failure