diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index a8d41d7f..c0d1da3b 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -323,7 +323,7 @@ void tox_callback_friend_message(Tox *tox, void (*function)(Messenger *tox, int, | |||
323 | /* Set the function that will be executed when an action from a friend is received. | 323 | /* Set the function that will be executed when an action from a friend is received. |
324 | * function format is: function(int friendnumber, uint8_t * action, uint32_t length) | 324 | * function format is: function(int friendnumber, uint8_t * action, uint32_t length) |
325 | */ | 325 | */ |
326 | void tox_callback_action(Tox *tox, void (*function)(Messenger *tox, int, uint8_t *, uint16_t, void *), void *userdata) | 326 | void tox_callback_friend_action(Tox *tox, void (*function)(Messenger *tox, int, uint8_t *, uint16_t, void *), void *userdata) |
327 | { | 327 | { |
328 | Messenger *m = tox; | 328 | Messenger *m = tox; |
329 | m_callback_action(m, function, userdata); | 329 | m_callback_action(m, function, userdata); |