Ignore:
Timestamp:
Jul 11, 2010, 8:49:19 PM (11 years ago)
Author:
charles
Message:

(trunk libt) rename tr_date() as tr_time_msec() for clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r10901 r10998  
    475475    if( ( match != NULL ) && ( !doWrite || match->isWritable ) )
    476476    {
    477         match->date = tr_date( );
     477        match->date = tr_time_msec( );
    478478        return match->fd;
    479479    }
     
    533533    while( winner < 0 )
    534534    {
    535         uint64_t date = tr_date( ) + 1;
     535        uint64_t date = tr_time_msec( ) + 1;
    536536
    537537        /* look for the file that's been open longest */
     
    583583    o->torrentId = torrentId;
    584584    o->fileNum = fileNum;
    585     o->date = tr_date( );
     585    o->date = tr_time_msec( );
    586586    return o->fd;
    587587}
Note: See TracChangeset for help on using the changeset viewer.