Changeset 971


Ignore:
Timestamp:
Oct 1, 2006, 4:34:02 PM (15 years ago)
Author:
livings124
Message:

start torrents by enumerating (trying to figure out a bug)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r961 r971  
    656656- (void) resumeTorrentsNoWait: (NSArray *) torrents
    657657{
    658     [torrents makeObjectsPerformSelector: @selector(startTransfer)];
     658    NSEnumerator * enumerator = [torrents objectEnumerator];
     659    Torrent * torrent;
     660    while ((torrent = [enumerator nextObject]))
     661        [torrent startTransfer];
    659662   
    660663    [self updateUI: nil];
Note: See TracChangeset for help on using the changeset viewer.