From c1ada1f86bcc2cffbee7355d61248ae1564429ca Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 3 Jul 2006 03:38:51 +0000 Subject: [PATCH] swap these 2 checks --- macosx/Controller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 74797b328..f72da0e4e 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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];