summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
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 df2fde53..fccf3480 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -311,7 +311,7 @@ void tox_kill(Tox *tox)
311void tox_callback_log(Tox *tox, tox_log_cb *callback, void *user_data) 311void tox_callback_log(Tox *tox, tox_log_cb *callback, void *user_data)
312{ 312{
313 Messenger *m = tox; 313 Messenger *m = tox;
314 m_callback_log(m, (logger_cb *)callback, user_data); 314 m_callback_log(m, (logger_cb *)callback, tox, user_data);
315} 315}
316 316
317size_t tox_get_savedata_size(const Tox *tox) 317size_t tox_get_savedata_size(const Tox *tox)