Changeset 10023


Ignore:
Timestamp:
Jan 26, 2010, 9:41:40 PM (12 years ago)
Author:
charles
Message:

(trunk libT) possible fix for gn0s1s' "file not found" error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r9868 r10023  
    241241        fileOffset = 0;
    242242
    243         if( err ) {
     243        if( ( err != 0 ) && (ioMode == TR_IO_WRITE ) )
     244        {
    244245            char * path = tr_buildPath( tor->downloadDir, file->name, NULL );
    245246            tr_torrentSetLocalError( tor, "%s (%s)", tr_strerror( err ), path );
Note: See TracChangeset for help on using the changeset viewer.