declaration after code.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5235 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-05-31 13:32:23 +00:00
parent 62c8e751eb
commit 1730f202dd
1 changed files with 2 additions and 1 deletions

View File

@ -718,11 +718,12 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread(switch_thread_t * thr
SWITCH_DECLARE(switch_status_t) switch_core_session_thread_launch(switch_core_session_t *session)
{
switch_status_t status = SWITCH_STATUS_FALSE;
switch_thread_t *thread;
switch_threadattr_t *thd_attr;;
switch_threadattr_create(&thd_attr, session->pool);
switch_threadattr_detach_set(thd_attr, 1);
switch_status_t status = SWITCH_STATUS_FALSE;
switch_mutex_lock(session->mutex);