Changeset 512


Ignore:
Timestamp:
Jul 3, 2006, 11:15:53 AM (16 years ago)
Author:
livings124
Message:

a little more cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r511 r512  
    332332    NSEnumerator * enumerator = [fTorrents objectEnumerator];
    333333    Torrent * torrent;
    334     while ((torrent = [enumerator nextObject]))
    335     {
     334    while (!timeUp && (torrent = [enumerator nextObject]))
    336335        while (![torrent isPaused] && !(timeUp = [start timeIntervalSinceNow] < -5.0))
    337336        {
     
    339338            [torrent update];
    340339        }
    341        
    342         if (timeUp)
    343             break;
    344     }
     340   
    345341    [fTorrents release];
    346342}
Note: See TracChangeset for help on using the changeset viewer.