]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
STFU n FIX
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 10 Aug 2008 02:17:21 +0000 (02:17 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 10 Aug 2008 02:17:21 +0000 (02:17 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9235 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/stfu/stfu.c

index b4b44f2961ff9d658e8ef9603f7efabcf7bb1c0f..387f2925d76bfe6522a20471d22be04eb7009d5a 100644 (file)
@@ -125,7 +125,7 @@ static int32_t stfu_n_measure_interval(stfu_queue_t *queue)
        }
 
        for(index = 0; index < STFU_MAX_TRACK; index++) {
-               if (track[index] > most) {
+               if (track[index] > track[most]) {
                        most = index;
                }
        }