[Freeswitch-svn] [commit] r4483 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN mikej at freeswitch.org
Thu Mar 8 11:43:17 EST 2007


Author: mikej
Date: Thu Mar  8 11:43:16 2007
New Revision: 4483

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
msvc build tweaks

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Thu Mar  8 11:43:16 2007
@@ -913,9 +913,8 @@
 	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);
+		uint8_t running = (uint8_t)switch_core_session_running(*session);
 		tech_pvt = switch_core_session_get_private(*session);
 		
 		if (running) {



More information about the Freeswitch-svn mailing list