1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

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

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,10 +1403,11 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[torrent startTransfer];
desiredActive--;
}
else;
else
continue;
[torrent update];
}
[torrent update];
}
}