Ignore:
Timestamp:
Feb 18, 2011, 12:23:49 AM (11 years ago)
Author:
jch
Message:

Fix incorrect use of tr_timerAdd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-utp.c

    r11901 r11902  
    5757{
    5858    UTP_CheckTimeouts();
    59     tr_timerAdd(utp_timer, 0, tr_cryptoWeakRandInt(2000000));
     59    tr_timerAdd(utp_timer, 1, tr_cryptoWeakRandInt(1000000));
    6060}
    6161
     
    7070            return -1;
    7171        evtimer_set(utp_timer, timer_callback, NULL);
    72         tr_timerAdd(utp_timer, 0, tr_cryptoWeakRandInt(2000000));
     72        tr_timerAdd(utp_timer, 1, tr_cryptoWeakRandInt(1000000));
    7373    }
    7474
Note: See TracChangeset for help on using the changeset viewer.