mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-27 13:16:21 +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;
|
struct stat statbuf;
|
||||||
|
|
||||||
if (liblinphone_log_func != NULL) {
|
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);
|
ortp_gettimeofday(&tp, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue