diff --git a/coreapi/misc.c b/coreapi/misc.c index c95d2fa54..b82e749bf 100644 --- a/coreapi/misc.c +++ b/coreapi/misc.c @@ -917,7 +917,7 @@ void linphone_core_report_call_log(LinphoneCore *lc, LinphoneCallLog *call_log){ linphone_address_unref(conference_factory_addr); } const char *username = linphone_address_get_username(call_log->to); - if (strstr(username, "chatroom-") == username) + if (username && (strstr(username, "chatroom-") == username)) return; // End of workaround