swap these 2 checks
This commit is contained in:
parent
67f34ff071
commit
c1ada1f86b
|
@ -336,7 +336,7 @@ static void sleepCallBack(void * controller, io_service_t y,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
torrent = [fTorrents objectAtIndex: i];
|
torrent = [fTorrents objectAtIndex: i];
|
||||||
while (![torrent isPaused] && !(timeUp = [start timeIntervalSinceNow] <= -5.0))
|
while (!(timeUp = [start timeIntervalSinceNow] <= -5.0) && ![torrent isPaused])
|
||||||
{
|
{
|
||||||
usleep(100000);
|
usleep(100000);
|
||||||
[torrent update];
|
[torrent update];
|
||||||
|
|
Loading…
Reference in New Issue