Commit 426c38d6 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

tester.c: do not use bc_tester internal variables

parent 97758448
......@@ -550,7 +550,7 @@ int liblinphone_tester_after_each(void) {
bc_tester_current_suite_name(), bc_tester_current_test_name());
belle_sip_object_dump_active_objects();
belle_sip_object_flush_active_objects();
bc_tester_printf(bc_printf_verbosity_info, format);
bc_tester_printf(ORTP_MESSAGE, format);
ms_error("%s", format);
all_leaks_buffer = ms_strcat_printf(all_leaks_buffer, "\n%s", format);
......@@ -581,7 +581,7 @@ int liblinphone_tester_after_each(void) {
void liblinphone_tester_uninit(void) {
// show all leaks that happened during the test
if (all_leaks_buffer) {
bc_tester_printf(bc_printf_verbosity_info, all_leaks_buffer);
bc_tester_printf(ORTP_MESSAGE, all_leaks_buffer);
ms_free(all_leaks_buffer);
all_leaks_buffer = NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment