提交 1fb55577 authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-6052 line endings

上级 87e3d255
...@@ -223,19 +223,19 @@ static switch_status_t ru_say_general_count(switch_say_file_handle_t *sh, char * ...@@ -223,19 +223,19 @@ static switch_status_t ru_say_general_count(switch_say_file_handle_t *sh, char *
switch_status_t status; switch_status_t status;
cases_t cases; //падеж cases_t cases; //падеж
say_gender_t gender; //тип произношения say_gender_t gender; //тип произношения
char sbuf[128] = ""; char sbuf[128] = "";
if (say_args->method == SSM_ITERATED) { if (say_args->method == SSM_ITERATED) {
if ((tosay = switch_strip_commas(tosay, sbuf, sizeof(sbuf)-1))) { if ((tosay = switch_strip_commas(tosay, sbuf, sizeof(sbuf)-1))) {
char *p; char *p;
for (p = tosay; p && *p; p++) { for (p = tosay; p && *p; p++) {
switch_say_file(sh, "digits/%c", *p); switch_say_file(sh, "digits/%c", *p);
} }
} else { } else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Parse Error!\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Parse Error!\n");
return SWITCH_STATUS_GENERR; return SWITCH_STATUS_GENERR;
} }
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }
switch (say_args->type) { switch (say_args->type) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论