Ignore:
Timestamp:
Apr 10, 2011, 3:57:37 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) #4175 "very bizarre and unwieldy logfile in 2.30b2" -- another test commit for gunzip :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r12340 r12341  
    298298get_next_scrape_time( int interval )
    299299{
     300    time_t ret;
    300301    const time_t now = tr_time( );
    301302
     
    303304     * The latter step is to increase the odds of several torrents coming
    304305     * due at the same time to improve multiscrape. */
    305     return (now+interval) + (10-((now+interval)%10));
     306    ret = now + interval;
     307    while( ret % 10 ) ++ret;
     308    return ret;
    306309}
    307310
Note: See TracChangeset for help on using the changeset viewer.