FS-3271 --resolve

This commit is contained in:
Anthony Minessale 2011-04-27 09:48:28 -05:00
parent ce5c846200
commit f8835a817b
1 changed files with 1 additions and 1 deletions

View File

@ -1198,7 +1198,7 @@ SWITCH_DECLARE(void) switch_channel_wait_for_state(switch_channel_t *channel, sw
for (;;) {
if ((channel->state == channel->running_state && channel->running_state == want_state) ||
(other_channel && !switch_channel_ready(other_channel)) || !switch_channel_ready(channel)) {
(other_channel && switch_channel_down(other_channel)) || switch_channel_down(channel)) {
break;
}
switch_yield(20000);