Only update torrents that need to be updated.

This commit is contained in:
Mitchell Livingston 2006-08-06 19:10:47 +00:00
parent beebc5bbfa
commit 2aeed4485f
1 changed files with 5 additions and 5 deletions

View File

@ -533,8 +533,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[panel setCanChooseDirectories: NO];
[panel beginSheetForDirectory: nil file: nil types: [NSArray arrayWithObject: @"torrent"]
modalForWindow: fWindow modalDelegate: self didEndSelector:
@selector(openSheetClosed:returnCode:contextInfo:)
modalForWindow: fWindow modalDelegate: self didEndSelector: @selector(openSheetClosed:returnCode:contextInfo:)
contextInfo: [NSNumber numberWithBool: sender == fOpenIgnoreDownloadFolder]];
}
@ -1404,12 +1403,13 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[torrent startTransfer];
desiredActive--;
}
else;
}
else
continue;
[torrent update];
}
}
}
- (void) reloadInspectorSettings: (NSNotification *) notification
{