swap these 2 checks

This commit is contained in:
Mitchell Livingston 2006-07-03 03:38:51 +00:00
parent 67f34ff071
commit c1ada1f86b
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ static void sleepCallBack(void * controller, io_service_t y,
break;
torrent = [fTorrents objectAtIndex: i];
while (![torrent isPaused] && !(timeUp = [start timeIntervalSinceNow] <= -5.0))
while (!(timeUp = [start timeIntervalSinceNow] <= -5.0) && ![torrent isPaused])
{
usleep(100000);
[torrent update];