mirror of
				git://erdgeist.org/opentracker
				synced 2025-11-04 11:53:22 +08:00 
			
		
		
		
	off by -1... or so, strange error class
This commit is contained in:
		
							parent
							
								
									d49c1d5960
								
							
						
					
					
						commit
						51e4b179ab
					
				@ -663,7 +663,7 @@ size_t return_stats_for_slash24s( char *reply, size_t amount, ot_dword thresh )
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  for( i=0; i<0x1000000; ++i )
 | 
					  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 */
 | 
					      /* This subnet seems to announce more torrents than the last in our list */
 | 
				
			||||||
      int insert_pos = amount - 1;
 | 
					      int insert_pos = amount - 1;
 | 
				
			||||||
      while( ( insert_pos >= 0 ) && ( count[i] > slash24s[ 2 * insert_pos ] ) )
 | 
					      while( ( insert_pos >= 0 ) && ( count[i] > slash24s[ 2 * insert_pos ] ) )
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user