Changeset 1047


Ignore:
Timestamp:
Oct 31, 2006, 9:01:12 PM (15 years ago)
Author:
livings124
Message:

use full path for autoimport check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r1046 r1047  
    15711571        {
    15721572            int error;
    1573             tr_torrent_t * tempTor = tr_torrentInit(fLib, [path UTF8String], 0, & error);
     1573            tr_torrent_t * tempTor = tr_torrentInit(fLib, [[path stringByAppendingPathComponent: file] UTF8String],
     1574                                                        0, & error);
    15741575           
    15751576            if (tempTor)
     
    15881589                }
    15891590            }
    1590             else if (error != TR_EUNSUPPORTED || error != TR_EDUPLICATE)
     1591            else if (error != TR_EUNSUPPORTED && error != TR_EDUPLICATE)
    15911592                [fAutoImportedNames removeObjectIdenticalTo: file]; //failed to import for unknown reason, so try again later
    15921593            else;
Note: See TracChangeset for help on using the changeset viewer.