diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 9d33cf1609..9b2fc24e0b 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -373,7 +373,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess fail_on_single_reject = 1; } - if (!switch_strlen_zero(file) && !strcmp(file, "undef")) { + if ((!switch_strlen_zero(file)) && (!strcmp(file, "undef"))) { *file = '\0'; }