]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix internal state machine session yuckyness
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 13 Feb 2006 17:43:49 +0000 (17:43 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 13 Feb 2006 17:43:49 +0000 (17:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@599 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core.c

index bdc3bffc6e4d342cf05e23542c7dc0029df9ccb7..d17c6c912184d3f5e421fb716763014106ef459d 100644 (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");