static void collect_init(void) { old_collection_state = linphone_core_log_collection_enabled(); linphone_core_set_log_collection_path(bc_tester_get_writable_dir_prefix()); }
static int collect_init() { old_collection_state = linphone_core_log_collection_enabled(); linphone_core_set_log_collection_path(liblinphone_tester_writable_dir_prefix); return 0; }