check for true

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16965 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-03-10 23:53:12 +00:00
parent cf521109d2
commit a0891fa211
1 changed files with 2 additions and 2 deletions

View File

@ -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) {