[mod_conference] Fix possible NULL argument.

This commit is contained in:
Andrey Volk 2020-02-12 23:31:34 +04:00
parent d9bec17d16
commit 5b725386d4
1 changed files with 1 additions and 1 deletions

View File

@ -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;