From 0dc0aa090dbc3b3a34588e03188f1e0e580a7219 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sun, 10 Aug 2008 02:17:21 +0000 Subject: [PATCH] STFU n FIX git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9235 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/stfu/stfu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/stfu/stfu.c b/libs/stfu/stfu.c index b4b44f2961..387f2925d7 100644 --- a/libs/stfu/stfu.c +++ b/libs/stfu/stfu.c @@ -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; } }