waiting torrents won't go to the queue...

This commit is contained in:
Mitchell Livingston 2006-09-26 03:27:41 +00:00
parent e95450ecb2
commit c7265daeeb
1 changed files with 1 additions and 1 deletions

View File

@ -2176,7 +2176,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
for (i = [indexSet firstIndex]; i != NSNotFound; i = [indexSet indexGreaterThanIndex: i])
{
torrent = [fDisplayedTorrents objectAtIndex: i];
if ([torrent isPaused])
if ([torrent isPaused] && [torrent progress] < 1.0)
return YES;
}
return NO;