Changeset 9404 for trunk/libtransmission/torrent.c
- Timestamp:
- Oct 25, 2009, 6:49:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r9403 r9404 1024 1024 break; 1025 1025 } 1026 1027 if( !checkSeedRatio || s->ratio >= seedRatio || s->ratio == TR_RATIO_INF ) 1028 s->percentRatio = 1.0; 1029 else if( s->ratio == TR_RATIO_NA ) 1030 s->percentRatio = 0.0; 1031 else 1032 s->percentRatio = s->ratio / seedRatio; 1026 1033 1027 1034 tr_torrentUnlock( tor );
Note: See TracChangeset
for help on using the changeset viewer.