summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-02-25 19:50:18 -0500
committerirungentoo <irungentoo@gmail.com>2015-02-25 19:50:18 -0500
commit837d4698bbe4ae8e6f8242259516d23240195195 (patch)
tree30ecaf1ac8f70e3e8d5b62d983f32465bd863182 /toxcore
parentd83efd35dd342da7f5b0f4b6e11ffd943d7f3c63 (diff)
Fixed bug.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 3f344ffe..6b16a8d4 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -603,7 +603,7 @@ bool tox_friend_get_name(const Tox *tox, uint32_t friend_number, uint8_t *name,
603void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *function, void *user_data) 603void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *function, void *user_data)
604{ 604{
605 Messenger *m = tox; 605 Messenger *m = tox;
606 m_callback_friendmessage(m, function, user_data); 606 m_callback_namechange(m, function, user_data);
607} 607}
608 608
609size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error) 609size_t tox_friend_get_status_message_size(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error)