From 51e4b179ab389b0665f4d80a1f56459fa9e37f00 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sun, 22 Jul 2007 18:23:00 +0000 Subject: off by -1... or so, strange error class --- trackerlogic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trackerlogic.c') diff --git a/trackerlogic.c b/trackerlogic.c index 9294ec4..8308205 100644 --- a/trackerlogic.c +++ b/trackerlogic.c @@ -663,7 +663,7 @@ size_t return_stats_for_slash24s( char *reply, size_t amount, ot_dword thresh ) } for( i=0; i<0x1000000; ++i ) - if( count[i] >= thresh ) { + if( count[i] > thresh ) { /* This subnet seems to announce more torrents than the last in our list */ int insert_pos = amount - 1; while( ( insert_pos >= 0 ) && ( count[i] > slash24s[ 2 * insert_pos ] ) ) -- cgit v1.2.3