Commit 44dbe602 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Revert "If there is no current vtable, return the first one if exists"

This reverts commit 9d71678c.
parent e6977c69
......@@ -38,9 +38,6 @@ void linphone_core_v_table_destroy(LinphoneCoreVTable* table) {
}
LinphoneCoreVTable *linphone_core_get_current_vtable(LinphoneCore *lc) {
if (lc->current_vtable == NULL && ms_list_size(lc->vtable_refs) > 0) {
return (LinphoneCoreVTable *)ms_list_nth_data(lc->vtable_refs, 0);
}
return lc->current_vtable;
}
......
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