mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 19:48:07 +00:00
Fix possible crash if message is NULL.
This commit is contained in:
parent
5b78e03925
commit
23bf31504a
1 changed files with 2 additions and 2 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue