Ignore:
Timestamp:
Jul 22, 2007, 2:24:13 AM (15 years ago)
Author:
charles
Message:

xmission: load torrents on startup and populate the torrent list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r2452 r2456  
    472472    errno = 0;
    473473    file->file = open( path, write ? ( O_RDWR | O_CREAT ) : O_RDONLY, 0666 );
    474     if( file->file < 0 )
     474    if( write && ( file->file < 0 ) )
    475475    {
    476476        ret = tr_ioErrorFromErrno();
Note: See TracChangeset for help on using the changeset viewer.