mirror of
				git://erdgeist.org/opentracker
				synced 2025-11-04 03:43:23 +08:00 
			
		
		
		
	Make clean_single_torrent return much faster, if nothing is to do
This commit is contained in:
		
							parent
							
								
									cf8d4fae1d
								
							
						
					
					
						commit
						74a5afbe82
					
				@ -25,6 +25,9 @@ int clean_single_torrent( ot_torrent *torrent ) {
 | 
				
			|||||||
  char *new_peers;
 | 
					  char *new_peers;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if( !timedout )
 | 
				
			||||||
 | 
					    return 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* Torrent has idled out */
 | 
					  /* Torrent has idled out */
 | 
				
			||||||
  if( timedout > OT_TORRENT_TIMEOUT )
 | 
					  if( timedout > OT_TORRENT_TIMEOUT )
 | 
				
			||||||
    return 1;
 | 
					    return 1;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user