msvc build fix (code before declaration)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7771 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f4be1d8d8c
commit
da824431b5
|
@ -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]))))) {
|
if ((var_count = switch_separate_string(vars, ',', var_array, (sizeof(var_array) / sizeof(var_array[0]))))) {
|
||||||
int x = 0;
|
int x = 0;
|
||||||
for (x = 0; x < var_count; x++) {
|
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 };
|
char *inner_var_array[2] = { 0 };
|
||||||
int inner_var_count;
|
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 =
|
if ((inner_var_count =
|
||||||
switch_separate_string(var_array[x], '=', inner_var_array, (sizeof(inner_var_array) / sizeof(inner_var_array[0])))) == 2) {
|
switch_separate_string(var_array[x], '=', inner_var_array, (sizeof(inner_var_array) / sizeof(inner_var_array[0])))) == 2) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue