From 84090fe2f9c1197d7bbe333cb310f30c7c35fda3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 30 Sep 2009 17:53:09 +0000 Subject: [PATCH] to be or not to be git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15024 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index dc4e5af2f8..77dcdd253e 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -682,7 +682,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_answer(switch_core_session_t if (!ringback.asis) { - if (!(pass = (uint8_t) switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) { + if ((pass = (uint8_t) switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) { goto no_ringback; } @@ -1748,7 +1748,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess } if (!ringback.asis) { - if (!(pass = (uint8_t) switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) { + if ((pass = (uint8_t) switch_test_flag(read_codec, SWITCH_CODEC_FLAG_PASSTHROUGH))) { ringback_data = NULL; goto no_ringback; }