FSCORE-357

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13167 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-04-27 17:45:04 +00:00
parent b9dea85eb7
commit e7470e882c
4 changed files with 30 additions and 6 deletions

View File

@@ -764,7 +764,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 || state == want_state) {
if (mystate != ostate || state >= CS_HANGUP || state >= want_state) {
break;
}
switch_cond_next();