mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-23 04:14:47 +00:00
windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10117 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
561467d6a5
commit
885c1e6144
@ -625,6 +625,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||||||
*e = '\0';
|
*e = '\0';
|
||||||
data = e + 1;
|
data = e + 1;
|
||||||
} else {
|
} else {
|
||||||
|
int j = 0, k = 0;
|
||||||
if (e) {
|
if (e) {
|
||||||
*e = ',';
|
*e = ',';
|
||||||
}
|
}
|
||||||
@ -633,11 +634,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||||||
goto var_extract_error;
|
goto var_extract_error;
|
||||||
}
|
}
|
||||||
/* swallow the opening bracket */
|
/* swallow the opening bracket */
|
||||||
int i = 0, j = 0;
|
while ((data + k) && *(data + k)) {
|
||||||
while ((data + i) && *(data + i)) {
|
j = k; k++;
|
||||||
j = i; i++;
|
|
||||||
/* note that this affects vars[] */
|
/* note that this affects vars[] */
|
||||||
data[j] = data[i];
|
data[j] = data[k];
|
||||||
}
|
}
|
||||||
*(--e) = '\0';
|
*(--e) = '\0';
|
||||||
data = e + 1;
|
data = e + 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user