Changeset 8433 for trunk/libtransmission/torrent.c
- Timestamp:
- May 19, 2009, 6:38:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r8414 r8433 1272 1272 checkAndStartImpl( void * vtor ) 1273 1273 { 1274 time_t now; 1274 1275 tr_torrent * tor = vtor; 1275 1276 … … 1278 1279 tr_globalLock( tor->session ); 1279 1280 1281 now = time( NULL ); 1280 1282 tor->isRunning = TRUE; 1281 1283 tor->needsSeedRatioCheck = TRUE; … … 1284 1286 tor->completeness = tr_cpGetStatus( &tor->completion ); 1285 1287 tr_torrentSaveResume( tor ); 1286 tor->startDate = tor->anyDate = time( NULL );1288 tor->startDate = tor->anyDate = now; 1287 1289 tr_trackerStart( tor->tracker ); 1290 tor->dhtAnnounceAt = now + tr_cryptoWeakRandInt( 20 ); 1288 1291 tr_peerMgrStartTorrent( tor ); 1289 1292
Note: See TracChangeset
for help on using the changeset viewer.