[Freeswitch-svn] [commit] r10117 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Wed Oct 22 17:55:07 EDT 2008
Author: mikej
Date: Wed Oct 22 17:55:06 2008
New Revision: 10117
Modified:
freeswitch/trunk/src/switch_ivr_originate.c
Log:
windows build
Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c (original)
+++ freeswitch/trunk/src/switch_ivr_originate.c Wed Oct 22 17:55:06 2008
@@ -625,6 +625,7 @@
*e = '\0';
data = e + 1;
} else {
+ int j = 0, k = 0;
if (e) {
*e = ',';
}
@@ -633,11 +634,10 @@
goto var_extract_error;
}
/* swallow the opening bracket */
- int i = 0, j = 0;
- while ((data + i) && *(data + i)) {
- j = i; i++;
+ while ((data + k) && *(data + k)) {
+ j = k; k++;
/* note that this affects vars[] */
- data[j] = data[i];
+ data[j] = data[k];
}
*(--e) = '\0';
data = e + 1;
More information about the Freeswitch-svn
mailing list