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);
|
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;
|
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;
|
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();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue