From: Anthony Minessale Date: Wed, 27 Apr 2011 14:48:28 +0000 (-0500) Subject: FS-3271 --resolve X-Git-Tag: v1.2-rc1~118^2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8835a817bad2d1cd35dc6bf5341f0b245cfd7fe;p=thirdparty%2Ffreeswitch.git FS-3271 --resolve --- diff --git a/src/switch_channel.c b/src/switch_channel.c index 7d351791fd..2cd45b9e06 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -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);