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

check for true

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16965 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 cf521109
......@@ -418,7 +418,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
if ((vval = switch_channel_get_variable(channel, "record_fill_cng"))) {
if (switch_true(vval)) {
if (!strcasecmp(vval, "true")) {
fill_cng = 1400;
} else {
if ((fill_cng = atoi(vval)) < 0) {
......@@ -430,7 +430,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
if ((vval = switch_channel_get_variable(channel, "record_waste_resources"))) {
if (switch_true(vval)) {
if (!strcasecmp(vval, "true")) {
waste_resources = 1400;
} else {
if ((waste_resources = atoi(vval)) < 0) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论