Ignore:
Timestamp:
Nov 26, 2009, 6:47:08 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #2610 "avoid unnecessary calls to time(NULL)"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r9513 r9593  
    613613    static time_t last_time = 0;
    614614    static int have_ipv6 = 0;
    615     const time_t now = time( NULL );
     615    const time_t now = tr_time( );
    616616
    617617    /* Re-check every half hour */
Note: See TracChangeset for help on using the changeset viewer.