windows build fix.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4486 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-03-08 22:58:16 +00:00
parent 5ccdfc78f0
commit 9d84542d39
1 changed files with 1 additions and 2 deletions

View File

@ -913,9 +913,8 @@ static void terminate_session(switch_core_session_t **session, switch_call_cause
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Term called from line: %d\n", line);
if (*session) {
switch_channel_t *channel = switch_core_session_get_channel(*session);
switch_channel_state_t state = switch_channel_get_state(channel);
struct private_object *tech_pvt = NULL;
uint8_t running = switch_core_session_running(*session);
unsigned running = switch_core_session_running(*session);
tech_pvt = switch_core_session_get_private(*session);
if (running) {