mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-26 21:24:16 +00:00
[mod_avmd, esl/python] Two build fixups (#611)
This commit is contained in:
1 parent
4e581b096b
commit
513b0fbf00
2 files changed
+10
-8
No files matched your search
@@ -1343,8 +1343,10 @@ static switch_status_t avmd_parse_cmd_data(avmd_session_t *s, const char *cmd_da
|
||||
switch_assert(argv[idx]);
|
||||
status = avmd_parse_cmd_data_one_entry(argv[idx], &settings);
|
||||
if (status != SWITCH_STATUS_SUCCESS) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(s->session), SWITCH_LOG_ERROR,
|
||||
if (argv[idx]) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(s->session), SWITCH_LOG_ERROR,
|
||||
"Error parsing option [%d] [%s]\n", idx + 1, argv[idx]); /* idx + 1 to report option 0 as 1 for users convenience */
|
||||
}
|
||||
switch (status)
|
||||
{
|
||||
case SWITCH_STATUS_TERM:
|
||||
|
||||
Reference in new issue
Block a user