summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-09-25 07:18:44 -0400
committerirungentoo <irungentoo@gmail.com>2014-09-25 07:18:44 -0400
commitd2640103649b4513d2fc4d7bbb291fa941023ebf (patch)
tree64ebada9a6c53e0401c6d9d6f31b9c0af3963eb7 /toxcore/tox.h
parent80fdfbad07a7ab29dce86e862ae8429c241d5ce3 (diff)
Tox object doesn't need to be passed to tox_hash.
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index d285e3fc..61cfdf70 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -625,7 +625,7 @@ int tox_get_self_avatar(const Tox *tox, uint8_t *format, uint8_t *buf, uint32_t
625 * returns 0 on success 625 * returns 0 on success
626 * returns -1 on failure. 626 * returns -1 on failure.
627 */ 627 */
628int tox_hash(const Tox *tox, uint8_t *hash, const uint8_t *data, const uint32_t datalen); 628int tox_hash(uint8_t *hash, const uint8_t *data, const uint32_t datalen);
629 629
630/* Request avatar information from a friend. 630/* Request avatar information from a friend.
631 * Asks a friend to provide their avatar information (image format and hash). The friend may 631 * Asks a friend to provide their avatar information (image format and hash). The friend may