From 4468d35e2baff426341f69c9db6441e13917721b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 4 Oct 2007 21:01:52 +0000 Subject: [PATCH] silly git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5802 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_state_machine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_core_state_machine.c b/src/switch_core_state_machine.c index 29b77f41c9..0c77ae47fb 100644 --- a/src/switch_core_state_machine.c +++ b/src/switch_core_state_machine.c @@ -310,7 +310,7 @@ void switch_core_state_machine_init(switch_memory_pool_t *pool) switch_core_standard_on_##__STATE(session); \ } \ } \ - } while (0) + } while (silly) SWITCH_DECLARE(void) switch_core_session_run(switch_core_session_t *session) { @@ -320,7 +320,7 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session_t *session) const switch_state_handler_table_t *application_state_handler = NULL; switch_thread_id_t thread_id; jmp_buf env; - int sig; + int sig, silly = 0; if (switch_test_flag((&runtime), SCF_CRASH_PROT)) { thread_id = switch_thread_self();