From 5b725386d4ba51ce1110f27bb8599eb601108fec Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Wed, 12 Feb 2020 23:31:34 +0400 Subject: [PATCH] [mod_conference] Fix possible NULL argument. --- src/mod/applications/mod_conference/conference_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;