Changeset 2974


Ignore:
Timestamp:
Sep 5, 2007, 4:05:30 AM (15 years ago)
Author:
joshe
Message:

Catch up with an old libT API change and allow autostart to be disabled again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/torrents.c

    r2444 r2974  
    501501    {
    502502        tor->tor = tr_torrentInit( gl_handle, path, dir,
    503                                    TR_FLAG_SAVE, &errcode );
     503                                   TR_FLAG_SAVE | TR_FLAG_PAUSED, &errcode );
    504504    }
    505505    else if( NULL != hash )
    506506    {
    507         tor->tor = tr_torrentInitSaved( gl_handle, hash, dir, 0, &errcode );
     507        tor->tor = tr_torrentInitSaved( gl_handle, hash, dir, TR_FLAG_PAUSED,
     508                                        &errcode );
    508509    }
    509510    else
    510511    {
    511512        tor->tor = tr_torrentInitData( gl_handle, data, size, dir,
    512                                        TR_FLAG_SAVE, &errcode );
     513                                       TR_FLAG_SAVE | TR_FLAG_PAUSED, &errcode );
    513514    }
    514515
Note: See TracChangeset for help on using the changeset viewer.