]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
incrementing the wrong var.
authorMichael Jerris <mike@jerris.com>
Tue, 15 Jan 2008 02:04:11 +0000 (02:04 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 15 Jan 2008 02:04:11 +0000 (02:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7232 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_async.c

index b36a13b72eba6edf0da4e28edf29b99f4e3ca037..d53ab8392ded72ca8ecdafea1974742a729710c6 100644 (file)
@@ -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;