Ignore:
Timestamp:
Jun 15, 2009, 3:24:40 AM (13 years ago)
Author:
charles
Message:

(trunk libT) simplify the evtimer / struct timeval code a little

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r8695 r8698  
    484484}
    485485
     486void
     487tr_timerAdd( struct event * timer, int seconds, int milliseconds )
     488{
     489    struct timeval tv;
     490    tr_timevalSet( &tv, seconds, milliseconds );
     491    event_add( timer, &tv );
     492}
    486493
    487494/**
Note: See TracChangeset for help on using the changeset viewer.