Changeset 10483 for trunk/libtransmission/torrent.c
- Timestamp:
- Apr 15, 2010, 1:43:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r10480 r10483 203 203 { 204 204 tor->ratioLimitMode = mode; 205 tor->needsSeedRatioCheck = TRUE;206 205 207 206 tr_torrentSetDirty( tor ); … … 225 224 { 226 225 tor->desiredRatio = desiredRatio; 227 228 tor->needsSeedRatioCheck = TRUE;229 226 230 227 tr_torrentSetDirty( tor ); … … 322 319 assert( tr_isTorrent( tor ) ); 323 320 324 /* if we're seeding and we've reachedour seed ratio limit, stop the torrent */321 /* if we're seeding and reach our seed ratio limit, stop the torrent */ 325 322 if( tor->isRunning && tr_torrentIsSeedRatioDone( tor ) ) 326 323 { … … 1395 1392 const time_t now = tr_time( ); 1396 1393 tor->isRunning = TRUE; 1397 tor->needsSeedRatioCheck = TRUE;1398 1394 tor->error = TR_STAT_OK; 1399 1395 tor->errorString[0] = '\0'; … … 1714 1710 1715 1711 tor->completeness = completeness; 1716 tor->needsSeedRatioCheck = TRUE;1717 1712 tr_fdTorrentClose( tor->session, tor->uniqueId ); 1718 1713 … … 1897 1892 1898 1893 tr_cpInvalidateDND( &tor->completion ); 1899 tor->needsSeedRatioCheck = TRUE;1900 1894 1901 1895 tr_torrentUnlock( tor );
Note: See TracChangeset
for help on using the changeset viewer.