summaryrefslogtreecommitdiff
path: root/auto_tests/messenger_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2017-01-06 13:47:50 +0000
committeriphydf <iphydf@users.noreply.github.com>2017-01-06 23:25:46 +0000
commit3fb683115ce106bb7455563027d965eec5daec4e (patch)
tree54e58ef88e2090be9f4a7577773cb662b0b1b4a1 /auto_tests/messenger_test.c
parent01cb35c1f6b4b8f2538ce29013a7b91e3cd24d45 (diff)
Add logging callback to messenger_test.
So we can see what went wrong if it fails.
Diffstat (limited to 'auto_tests/messenger_test.c')
-rw-r--r--auto_tests/messenger_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/auto_tests/messenger_test.c b/auto_tests/messenger_test.c
index 03697ce6..efe2963a 100644
--- a/auto_tests/messenger_test.c
+++ b/auto_tests/messenger_test.c
@@ -352,6 +352,7 @@ int main(int argc, char *argv[])
352 /* IPv6 status from global define */ 352 /* IPv6 status from global define */
353 Messenger_Options options = {0}; 353 Messenger_Options options = {0};
354 options.ipv6enabled = TOX_ENABLE_IPV6_DEFAULT; 354 options.ipv6enabled = TOX_ENABLE_IPV6_DEFAULT;
355 options.log_callback = (logger_cb *)print_debug_log;
355 m = new_messenger(&options, 0); 356 m = new_messenger(&options, 0);
356 357
357 /* setup a default friend and friendnum */ 358 /* setup a default friend and friendnum */