提交 f20b605d authored 作者: Anthony Minessale's avatar Anthony Minessale

typo

上级 42b64ccd
...@@ -242,7 +242,7 @@ SWITCH_STANDARD_APP(clear_digit_action_function) ...@@ -242,7 +242,7 @@ SWITCH_STANDARD_APP(clear_digit_action_function)
char *target_str; char *target_str;
switch_digit_action_target_t target = DIGIT_TARGET_SELF; switch_digit_action_target_t target = DIGIT_TARGET_SELF;
if ((target_str = strchr(realm, ' '))) { if ((target_str = strchr(realm, ','))) {
*target_str++ = '\0'; *target_str++ = '\0';
target = str2target(target_str); target = str2target(target_str);
} }
...@@ -266,7 +266,7 @@ SWITCH_STANDARD_APP(digit_action_set_realm_function) ...@@ -266,7 +266,7 @@ SWITCH_STANDARD_APP(digit_action_set_realm_function)
char *target_str; char *target_str;
switch_digit_action_target_t target = DIGIT_TARGET_SELF; switch_digit_action_target_t target = DIGIT_TARGET_SELF;
if ((target_str = strchr(realm, ' '))) { if ((target_str = strchr(realm, ','))) {
*target_str++ = '\0'; *target_str++ = '\0';
target = str2target(target_str); target = str2target(target_str);
} }
...@@ -275,6 +275,7 @@ SWITCH_STANDARD_APP(digit_action_set_realm_function) ...@@ -275,6 +275,7 @@ SWITCH_STANDARD_APP(digit_action_set_realm_function)
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Syntax Error, USAGE %s\n", DIGIT_ACTION_SET_REALM_USAGE); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Syntax Error, USAGE %s\n", DIGIT_ACTION_SET_REALM_USAGE);
return; return;
} }
if ((dmachine = switch_core_session_get_dmachine(session, target))) { if ((dmachine = switch_core_session_get_dmachine(session, target))) {
switch_ivr_dmachine_set_realm(dmachine, realm); switch_ivr_dmachine_set_realm(dmachine, realm);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论