[Freeswitch-svn] [commit] r7771 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Sun Mar 2 12:42:24 EST 2008


Author: mikej
Date: Sun Mar  2 12:42:24 2008
New Revision: 7771

Modified:
   freeswitch/trunk/src/switch_ivr_originate.c

Log:
msvc build fix (code before declaration)

Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c	(original)
+++ freeswitch/trunk/src/switch_ivr_originate.c	Sun Mar  2 12:42:24 2008
@@ -591,9 +591,9 @@
 		if ((var_count = switch_separate_string(vars, ',', var_array, (sizeof(var_array) / sizeof(var_array[0]))))) {
 			int x = 0;
 			for (x = 0; x < var_count; x++) {
-				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"variable string %d = [%s]\n", x, var_array[x]);				
 				char *inner_var_array[2] = { 0 };
 				int inner_var_count;
+				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"variable string %d = [%s]\n", x, var_array[x]);				
 				if ((inner_var_count =
 					 switch_separate_string(var_array[x], '=', inner_var_array, (sizeof(inner_var_array) / sizeof(inner_var_array[0])))) == 2) {
 



More information about the Freeswitch-svn mailing list