Commit 23bf3150 authored by Ghislain MARY's avatar Ghislain MARY

Fix possible crash if message is NULL.

parent 5b78e039
......@@ -23,8 +23,8 @@
#include "liblinphone_tester.h"
void linphone_configuration_status(LinphoneCore *lc, LinphoneConfiguringState status, const char *message) {
ms_message("Configuring state = %i with message %s", status, message);
ms_message("Configuring state = %i with message %s", status, message?message:"");
stats* counters = get_stats(lc);
if (status == LinphoneConfiguringSkipped) {
counters->number_of_LinphoneConfiguringSkipped++;
......
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