Changeset 8795


Ignore:
Timestamp:
Jul 12, 2009, 3:28:03 AM (13 years ago)
Author:
livings124
Message:

a little safety for when trackerless torrent support is added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r8667 r8795  
    827827{
    828828    //check if no user-added groups
    829     if ([[trackers objectAtIndex: 0] intValue] != 0)
     829    if ([trackers size] == 0 || [[trackers objectAtIndex: 0] intValue] != 0)
    830830        fAddedTrackers = NO;
    831831   
Note: See TracChangeset for help on using the changeset viewer.