[Freeswitch-svn] [commit] r13178 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Tue Apr 28 08:11:38 PDT 2009
Author: anthm
Date: Tue Apr 28 10:11:38 2009
New Revision: 13178
Log:
fix win32 build
Modified:
freeswitch/trunk/src/switch_core_state_machine.c
Modified: freeswitch/trunk/src/switch_core_state_machine.c
==============================================================================
--- freeswitch/trunk/src/switch_core_state_machine.c (original)
+++ freeswitch/trunk/src/switch_core_state_machine.c Tue Apr 28 10:11:38 2009
@@ -573,6 +573,7 @@
int do_extra_handlers = 1;
int silly = 0;
int index = 0;
+ const char *var = switch_channel_get_variable(session->channel, SWITCH_PROCESS_CDR_VARIABLE);
if (switch_channel_test_flag(session->channel, CF_REPORTING)) {
return;
@@ -589,9 +590,6 @@
driver_state_handler = endpoint_interface->state_handler;
switch_assert(driver_state_handler != NULL);
-
- const char *var = switch_channel_get_variable(session->channel, SWITCH_PROCESS_CDR_VARIABLE);
-
if (!switch_strlen_zero(var)) {
if (!strcasecmp(var, "a_only")) {
if (switch_channel_get_originator_caller_profile(session->channel)) {
More information about the Freeswitch-svn
mailing list