From: Andrey Volk Date: Wed, 12 Feb 2020 19:31:34 +0000 (+0400) Subject: [mod_conference] Fix possible NULL argument. X-Git-Tag: v1.10.3^2~185^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F292%2Fhead;p=thirdparty%2Ffreeswitch.git [mod_conference] Fix possible NULL argument. --- diff --git a/src/mod/applications/mod_conference/conference_event.c b/src/mod/applications/mod_conference/conference_event.c index 6977b8a494..8a84fdd049 100644 --- a/src/mod/applications/mod_conference/conference_event.c +++ b/src/mod/applications/mod_conference/conference_event.c @@ -108,7 +108,7 @@ void conference_event_mod_channel_handler(const char *event_channel, cJSON *json } } - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "conf %s CMD %s [%s] %s\n", conference_name, key, action, cid); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "conf %s CMD %s [%s] %s\n", conference_name, key, action ? action : "N/A", cid); if (zstr(action)) { goto end;