git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6388
d0543943-73ff-0310-b7d9-
9358b9ac24b2
teletone_process_t x = 0;
va_start(ap, index);
- while (i <= TELETONE_MAX_TONES && (x = va_arg(ap, teletone_process_t))) {
+ while (i < TELETONE_MAX_TONES && (x = va_arg(ap, teletone_process_t))) {
ts->TONES[index].freqs[i++] = x;
}
va_end(ap);
teletone_process_t x = 0;
va_start(ap, map);
- while (i <= TELETONE_MAX_TONES && (x = va_arg(ap, teletone_process_t))) {
+ while (i < TELETONE_MAX_TONES && (x = va_arg(ap, teletone_process_t))) {
map->freqs[i++] = x;
}
va_end(ap);