Ignore:
Timestamp:
Sep 28, 2007, 4:14:19 PM (15 years ago)
Author:
charles
Message:

fix John_Clay's tracker assertion failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r3201 r3226  
    621621                        t->scrapeIntervalMsec = tmp->val.i * 1000;
    622622
    623                 assert( tr_ptrArrayFindSorted(t->scraping,tor,torrentCompare) ); /* FIXME This is the line that crashes for John_Clay */
    624623                tr_ptrArrayRemoveSorted( t->scraping, tor, torrentCompare );
    625624
    626                 assert( !tor->scrapeTimer );
     625                tr_timerFree( &tor->scrapeTimer );
    627626                tor->scrapeTimer = tr_timerNew( t->handle, onTorrentScrapeNow, tor, t->scrapeIntervalMsec );
    628627                tr_dbg( "Torrent '%s' scrape successful."
Note: See TracChangeset for help on using the changeset viewer.