fix uuid_bridge issue

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16574 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-02-05 02:46:45 +00:00
parent 12af5a81f5
commit fa9b1379cd
1 changed files with 1 additions and 1 deletions

View File

@ -910,7 +910,7 @@ SWITCH_DECLARE(void) switch_channel_wait_for_state(switch_channel_t *channel, sw
state = switch_channel_get_running_state(other_channel);
mystate = switch_channel_get_running_state(channel);
if (mystate != ostate || state >= CS_HANGUP || mystate == want_state) {
if (mystate == want_state || state >= CS_HANGUP || mystate >= CS_HANGUP) {
break;
}
switch_cond_next();