From: Michael Jerris Date: Tue, 15 Jan 2008 02:04:11 +0000 (+0000) Subject: incrementing the wrong var. X-Git-Tag: v1.0-rc1~676 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71b9b5a51fea6ef2b70aa74b0c3fbd165e3a0750;p=thirdparty%2Ffreeswitch.git incrementing the wrong var. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7232 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index b36a13b72e..d53ab8392d 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1073,7 +1073,7 @@ static switch_bool_t tone_detect_callback(switch_media_bug_t *bug, void *user_da frame = switch_core_media_bug_get_write_replace_frame(bug); } - for (i = 0 ; i < cont->index; cont++) { + for (i = 0 ; i < cont->index; i++) { if (cont->list[i].up && teletone_multi_tone_detect(&cont->list[i].mt, frame->data, frame->samples)) { switch_event_t *event;