Changeset 10999 for trunk/macosx/Torrent.m
- Timestamp:
- Jul 11, 2010, 9:02:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Torrent.m
r10949 r10999 1480 1480 - (NSInteger) stalledMinutes 1481 1481 { 1482 const time_t start = fStat->startDate; 1483 if (start == 0) 1484 return -1; 1485 1486 NSDate * started = [NSDate dateWithTimeIntervalSince1970: start], 1487 * activity = [self dateActivity]; 1488 1489 NSDate * laterDate = activity ? [started laterDate: activity] : started; 1490 1491 return ABS([laterDate timeIntervalSinceNow]) / 60; 1482 return fStat->idleSecs / 60; 1492 1483 } 1493 1484
Note: See TracChangeset
for help on using the changeset viewer.