summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authorGregory Mullen (grayhatter) <greg@grayhatter.com>2016-08-20 15:15:49 -0700
committerGregory Mullen (grayhatter) <greg@grayhatter.com>2016-08-22 02:10:18 -0700
commit3f0c1017714eb8b5114ee5d0caaa5bc453217d09 (patch)
treed5afef4d1828644433db37012b01abd7cf879d1b /toxcore/tox.c
parentb044cfbf1509ff45b2d4b0f518dadd8ad7c05046 (diff)
Make Friend User Status stateless
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 2733a22f..2cccf125 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -782,10 +782,10 @@ TOX_USER_STATUS tox_friend_get_status(const Tox *tox, uint32_t friend_number, TO
782 return ret; 782 return ret;
783} 783}
784 784
785void tox_callback_friend_status(Tox *tox, tox_friend_status_cb *function, void *user_data) 785void tox_callback_friend_status(Tox *tox, tox_friend_status_cb *function)
786{ 786{
787 Messenger *m = tox; 787 Messenger *m = tox;
788 m_callback_userstatus(m, function, user_data); 788 m_callback_userstatus(m, function);
789} 789}
790 790
791TOX_CONNECTION tox_friend_get_connection_status(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error) 791TOX_CONNECTION tox_friend_get_connection_status(const Tox *tox, uint32_t friend_number, TOX_ERR_FRIEND_QUERY *error)