summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-12-10 12:00:43 -0800
committerirungentoo <irungentoo@gmail.com>2013-12-10 12:00:43 -0800
commite0a7565b53f1ed567918538ad60321a50ca92560 (patch)
tree214dc819ca01707c52b7abee025de65bd8cf58ff /toxcore/tox.c
parent563664d1a5d178c6e9ea2328a6683c42aa553a66 (diff)
parent2d841fb7917a8970de176e490613ff3e77abd47d (diff)
Merge pull request #677 from aitjcize/api-name
More API consistent fix.
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c2
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 */
326void tox_callback_action(Tox *tox, void (*function)(Messenger *tox, int, uint8_t *, uint16_t, void *), void *userdata) 326void 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);