mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
Fix va_list crash
This commit is contained in:
parent
811fabffbb
commit
cc2b63af4e
1 changed files with 4 additions and 1 deletions
|
|
@ -190,7 +190,10 @@ static void linphone_core_log_collection_handler(OrtpLogLevel level, const char
|
|||
struct stat statbuf;
|
||||
|
||||
if (liblinphone_log_func != NULL) {
|
||||
liblinphone_log_func(level, fmt, args);
|
||||
va_list args_copy;
|
||||
va_copy(args_copy, args);
|
||||
liblinphone_log_func(level, fmt, args_copy);
|
||||
va_end(args_copy);
|
||||
}
|
||||
|
||||
ortp_gettimeofday(&tp, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue