Changeset 2300
- Timestamp:
- Jul 6, 2007, 5:19:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/inout.c
r2254 r2300 44 44 if( !file->length ) 45 45 return 0; 46 else if ((fd = tr_fdFileOpen ( tor->destination, file->name, TRUE )) < 0)46 else if ((fd = tr_fdFileOpen ( tor->destination, file->name, ioMode==TR_IO_WRITE )) < 0) 47 47 ret = fd; 48 48 else if( lseek( fd, (off_t)fileOffset, SEEK_SET ) == ((off_t)-1) )
Note: See TracChangeset
for help on using the changeset viewer.