Commit 572c57a2 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix bb10 crash in log with NULL for %s

parent 5e24a572
......@@ -498,13 +498,13 @@ void linphone_reporting_update_media_info(LinphoneCall * call, int stats_type) {
STR_REASSIGN(report->info.local_addr.group, ms_strdup_printf("%s-%s-%s"
, dialog_id
, "local"
, report->local_metrics.user_agent
, report->local_metrics.user_agent ? report->local_metrics.user_agent : ""
)
);
STR_REASSIGN(report->info.remote_addr.group, ms_strdup_printf("%s-%s-%s"
, dialog_id
, "remote"
, report->remote_metrics.user_agent
, report->remote_metrics.user_agent ? report->remote_metrics.user_agent : ""
)
);
......
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