Commit cc2b63af authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Fix va_list crash

parent 811fabff
......@@ -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);
ortp_gettimeofday(&tp, NULL);
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