mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add logging callback to messenger_test.
So we can see what went wrong if it fails.
This commit is contained in:
parent
01cb35c1f6
commit
3fb683115c
|
@ -352,6 +352,7 @@ int main(int argc, char *argv[])
|
|||
/* IPv6 status from global define */
|
||||
Messenger_Options options = {0};
|
||||
options.ipv6enabled = TOX_ENABLE_IPV6_DEFAULT;
|
||||
options.log_callback = (logger_cb *)print_debug_log;
|
||||
m = new_messenger(&options, 0);
|
||||
|
||||
/* setup a default friend and friendnum */
|
||||
|
|
Loading…
Reference in New Issue
Block a user