Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
dbaf4992
提交
dbaf4992
authored
4月 28, 2014
作者:
Michael Jerris
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove unnecessary null check, we would have crashed already if that strdup failed
上级
5c07c3eb
隐藏空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
19 行增加
和
53 行删除
+19
-53
mod_say_de.c
src/mod/say/mod_say_de/mod_say_de.c
+1
-3
mod_say_en.c
src/mod/say/mod_say_en/mod_say_en.c
+1
-3
mod_say_es.c
src/mod/say/mod_say_es/mod_say_es.c
+1
-3
mod_say_fa.c
src/mod/say/mod_say_fa/mod_say_fa.c
+1
-3
mod_say_fr.c
src/mod/say/mod_say_fr/mod_say_fr.c
+1
-3
mod_say_he.c
src/mod/say/mod_say_he/mod_say_he.c
+1
-3
mod_say_hr.c
src/mod/say/mod_say_hr/mod_say_hr.c
+1
-3
mod_say_hu.c
src/mod/say/mod_say_hu/mod_say_hu.c
+1
-3
mod_say_it.c
src/mod/say/mod_say_it/mod_say_it.c
+1
-3
mod_say_ja.c
src/mod/say/mod_say_ja/mod_say_ja.c
+1
-3
mod_say_nl.c
src/mod/say/mod_say_nl/mod_say_nl.c
+1
-3
mod_say_pl.c
src/mod/say/mod_say_pl/mod_say_pl.c
+1
-3
mod_say_pt.c
src/mod/say/mod_say_pt/mod_say_pt.c
+3
-5
mod_say_ru.c
src/mod/say/mod_say_ru/mod_say_ru.c
+1
-3
mod_say_sv.c
src/mod/say/mod_say_sv/mod_say_sv.c
+1
-3
mod_say_th.c
src/mod/say/mod_say_th/mod_say_th.c
+1
-3
mod_say_zh.c
src/mod/say/mod_say_zh/mod_say_zh.c
+1
-3
没有找到文件。
src/mod/say/mod_say_de/mod_say_de.c
浏览文件 @
dbaf4992
...
...
@@ -243,9 +243,7 @@ static switch_status_t de_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_en/mod_say_en.c
浏览文件 @
dbaf4992
...
...
@@ -208,9 +208,7 @@ static switch_status_t en_say_time(switch_say_file_handle_t *sh, char *tosay, sw
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_es/mod_say_es.c
浏览文件 @
dbaf4992
...
...
@@ -237,9 +237,7 @@ static switch_status_t es_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_fa/mod_say_fa.c
浏览文件 @
dbaf4992
...
...
@@ -242,9 +242,7 @@ static switch_status_t fa_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_fr/mod_say_fr.c
浏览文件 @
dbaf4992
...
...
@@ -227,9 +227,7 @@ static switch_status_t fr_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_he/mod_say_he.c
浏览文件 @
dbaf4992
...
...
@@ -337,9 +337,7 @@ static switch_status_t he_say_time(switch_say_file_handle_t *sh, char *tosay, sw
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_hr/mod_say_hr.c
浏览文件 @
dbaf4992
...
...
@@ -486,9 +486,7 @@ static switch_status_t hr_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_hu/mod_say_hu.c
浏览文件 @
dbaf4992
...
...
@@ -205,9 +205,7 @@ static switch_status_t hu_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_it/mod_say_it.c
浏览文件 @
dbaf4992
...
...
@@ -251,9 +251,7 @@ static switch_status_t it_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_ja/mod_say_ja.c
浏览文件 @
dbaf4992
...
...
@@ -268,9 +268,7 @@ static switch_status_t ja_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_nl/mod_say_nl.c
浏览文件 @
dbaf4992
...
...
@@ -195,9 +195,7 @@ static switch_status_t nl_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_pl/mod_say_pl.c
浏览文件 @
dbaf4992
...
...
@@ -228,9 +228,7 @@ static switch_status_t pl_say_time(switch_say_file_handle_t *sh, char *tosay, sw
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_pt/mod_say_pt.c
浏览文件 @
dbaf4992
...
...
@@ -39,7 +39,7 @@
*
* Anthony Minessale II <anthm@freeswitch.org>
* Michael B. Murdock <mike@mmurdock.org>
* Antnio Silva <asilva@wirelessmundi.com>
* Ant
ó
nio Silva <asilva@wirelessmundi.com>
*
* mod_say_pt.c -- Say for Portuguese
*
...
...
@@ -184,7 +184,7 @@ static switch_status_t pt_say_general_count(switch_core_session_t *session, char
switch
(
say_args
->
method
)
{
case
SSM_COUNTED
:
case
SSM_PRONOUNCED
:
/* specific case, one million => um milho */
/* specific case, one million => um milh
ã
o */
if
(
!
places
[
8
]
&&
!
places
[
7
]
&&
(
places
[
6
]
==
1
))
{
say_file
(
"digits/1.wav"
);
say_file
(
"digits/million.wav"
);
...
...
@@ -233,9 +233,7 @@ static switch_status_t pt_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_ru/mod_say_ru.c
浏览文件 @
dbaf4992
...
...
@@ -368,9 +368,7 @@ static switch_status_t ru_say_time(switch_say_file_handle_t *sh, char *tosay, sw
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_sv/mod_say_sv.c
浏览文件 @
dbaf4992
...
...
@@ -274,9 +274,7 @@ static switch_status_t sv_say_time(switch_say_file_handle_t *sh, char *tosay, sw
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_th/mod_say_th.c
浏览文件 @
dbaf4992
...
...
@@ -257,9 +257,7 @@ static switch_status_t th_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
src/mod/say/mod_say_zh/mod_say_zh.c
浏览文件 @
dbaf4992
...
...
@@ -221,9 +221,7 @@ static switch_status_t zh_say_time(switch_core_session_t *session, char *tosay,
if
((
p
=
strchr
(
tme
,
':'
)))
{
*
p
++
=
'\0'
;
minutes
=
atoi
(
p
);
if
(
tme
)
{
hours
=
atoi
(
tme
);
}
hours
=
atoi
(
tme
);
}
else
{
minutes
=
atoi
(
tme
);
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论