mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-03 06:06:09 +00:00
Fix misplaced brackets inside ifs with assignment + comparison
This commit is contained in:
parent
edd36639c7
commit
cfe5c4fecc
@ -515,7 +515,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_queue_dtmf(switch_channel_t *chan
|
||||
switch_set_flag((&new_dtmf), DTMF_FLAG_SENSITIVE);
|
||||
}
|
||||
|
||||
if ((status = switch_core_session_recv_dtmf(channel->session, dtmf) != SWITCH_STATUS_SUCCESS)) {
|
||||
if ((status = switch_core_session_recv_dtmf(channel->session, dtmf)) != SWITCH_STATUS_SUCCESS) {
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
@ -4318,7 +4318,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_create_message_reply(switch_event_t *
|
||||
{
|
||||
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
||||
|
||||
if ((status = switch_event_dup_reply(reply, message) != SWITCH_STATUS_SUCCESS)) {
|
||||
if ((status = switch_event_dup_reply(reply, message)) != SWITCH_STATUS_SUCCESS) {
|
||||
abort();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user