mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
Fix infinite loop when calling linphone_core_enable_log_collection with the wrong state
This commit is contained in:
parent
6f53427358
commit
cc818e155f
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ static void linphone_core_log_collection_handler(const char *domain, OrtpLogLeve
|
|||
time_t tt;
|
||||
int ret;
|
||||
|
||||
if (liblinphone_log_func != NULL) {
|
||||
if (liblinphone_log_func != NULL && liblinphone_log_func != linphone_core_log_collection_handler) {
|
||||
#ifndef _WIN32
|
||||
va_list args_copy;
|
||||
va_copy(args_copy, args);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue