Changeset 6864


Ignore:
Timestamp:
Oct 8, 2008, 2:57:39 AM (13 years ago)
Author:
livings124
Message:

#1294 Don't auto-delete torrents when adding from Transmissions application support folder with the torrent name the same as the internal torrent name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r6732 r6864  
    8181    if (self)
    8282    {
    83         if (!fPublicTorrent)
     83        //if the public and private torrent files are the same, then there is no public torrent
     84        if ([[self torrentLocation] isEqualToString: path])
     85        {
     86            fPublicTorrent = NO;
     87            [fPublicTorrentLocation release];
     88            fPublicTorrentLocation = nil;
     89        }
     90        else if (!fPublicTorrent)
    8491            [self trashFile: path];
     92        else;
    8593    }
    8694    return self;
Note: See TracChangeset for help on using the changeset viewer.