Changeset 9180


Ignore:
Timestamp:
Sep 26, 2009, 6:43:44 AM (12 years ago)
Author:
charles
Message:

(trunk libT) possibly fix a crash reported by stdisease

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r9179 r9180  
    14961496tierNeedsToScrape( const tr_tier * tier, const time_t now )
    14971497{
    1498     return !tier->isScraping && tier->scrapeAt <= now;
     1498    return !tier->isScraping
     1499        && ( tier->scrapeAt <= now )
     1500        && ( tier->currentTracker != NULL )
     1501        && ( tier->currentTracker->scrape != NULL );
    14991502}
    15001503
Note: See TracChangeset for help on using the changeset viewer.