From da824431b51b872f4ffbd1cabcfaae34e13784b1 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 2 Mar 2008 17:42:24 +0000 Subject: [PATCH] msvc build fix (code before declaration) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7771 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 11fcb46cb8..0080e15a79 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -591,9 +591,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess 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) {