Changeset 6786


Ignore:
Timestamp:
Sep 18, 2008, 4:18:50 PM (13 years ago)
Author:
charles
Message:

(libT) apply a line from #1181's fix that was accidentally applied to the 1.3x branch instead of trunk. both are in sync now wrt #1181.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r6743 r6786  
    405405        const time_t now = time ( NULL );
    406406        dbgmsg( t->name, "request succeeded. reannouncing in %d seconds", interval );
    407         t->scrapeAt = now + t->scrapeIntervalSec + t->randOffset;
     407        if( t->scrapeAt <= now )
     408            t->scrapeAt = now + t->scrapeIntervalSec + t->randOffset;
    408409        t->reannounceAt = now + interval;
    409410        t->manualAnnounceAllowedAt = now + t->announceMinIntervalSec;
Note: See TracChangeset for help on using the changeset viewer.