Changeset 1682
- Timestamp:
- Apr 7, 2007, 9:08:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Torrent.m
r1657 r1682 290 290 291 291 //check to stop for ratio 292 float stopRatio; 293 if ([self isSeeding] && (stopRatio = [self actualStopRatio]) != INVALID && [self ratio] >= stopRatio) 292 float stopRatio, ratio; 293 if ([self isSeeding] && (stopRatio = [self actualStopRatio]) != INVALID 294 && ((ratio = [self ratio]) >= stopRatio || ratio == TR_RATIO_INF)) 294 295 { 295 296 [self stopTransfer];
Note: See TracChangeset
for help on using the changeset viewer.