summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index b44f0ee6..21854de4 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -826,9 +826,9 @@ int tox_get_self_avatar(const Tox *tox, uint8_t *format, uint8_t *buf, uint32_t
826 return m_get_self_avatar(m, format, buf, length, maxlen, hash); 826 return m_get_self_avatar(m, format, buf, length, maxlen, hash);
827} 827}
828 828
829int tox_avatar_hash(const Tox *tox, uint8_t *hash, const uint8_t *data, const uint32_t datalen) 829int tox_hash(const Tox *tox, uint8_t *hash, const uint8_t *data, const uint32_t datalen)
830{ 830{
831 return m_avatar_hash(hash, data, datalen); 831 return m_hash(hash, data, datalen);
832} 832}
833 833
834int tox_request_avatar_info(const Tox *tox, const int32_t friendnumber) 834int tox_request_avatar_info(const Tox *tox, const int32_t friendnumber)