Ignore:
Timestamp:
May 30, 2008, 5:22:26 PM (14 years ago)
Author:
charles
Message:

on shutdown, close the most active torrents first. That way if we can't get everyting closed in a reasonable amount of time, at least we get the ones that affect stats first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r5976 r5979  
    355355}
    356356
     357int
     358tr_compareUint64( uint64_t a, uint64_t b )
     359{
     360    if( a < b ) return -1;
     361    if( a > b ) return 1;
     362    return 0;
     363}
     364
    357365/**
    358366***
Note: See TracChangeset for help on using the changeset viewer.