summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
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 )
663 } 663 }
664 664
665 for( i=0; i<0x1000000; ++i ) 665 for( i=0; i<0x1000000; ++i )
666 if( count[i] >= thresh ) { 666 if( count[i] > thresh ) {
667 /* This subnet seems to announce more torrents than the last in our list */ 667 /* This subnet seems to announce more torrents than the last in our list */
668 int insert_pos = amount - 1; 668 int insert_pos = amount - 1;
669 while( ( insert_pos >= 0 ) && ( count[i] > slash24s[ 2 * insert_pos ] ) ) 669 while( ( insert_pos >= 0 ) && ( count[i] > slash24s[ 2 * insert_pos ] ) )