fix internal state machine session yuckyness

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@599 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-02-13 17:43:49 +00:00
parent abde08febc
commit 5bf08ed3c6
1 changed files with 1 additions and 1 deletions

View File

@ -1764,7 +1764,7 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session *session)
}
}
switch_channel_set_state(session->channel, CS_DONE);
midstate == switch_channel_get_state(session->channel);
midstate = switch_channel_get_state(session->channel);
break;
case CS_INIT: /* Basic setup tasks */
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "State INIT\n");