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 df2fde53..fccf3480 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -311,7 +311,7 @@ void tox_kill(Tox *tox) | |||
311 | void tox_callback_log(Tox *tox, tox_log_cb *callback, void *user_data) | 311 | void 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 | ||
317 | size_t tox_get_savedata_size(const Tox *tox) | 317 | size_t tox_get_savedata_size(const Tox *tox) |