From: Mike Gelfand Date: Mon, 29 May 2017 05:50:40 +0000 (+0300) Subject: Fixup 2321bc3fad (unintended logic change, spotted by cfpp2p in #297) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=432d573f2cb82b184f11ae6438c43ffa388fd965;p=transmission Fixup 2321bc3fad (unintended logic change, spotted by cfpp2p in #297) --- diff --git a/libtransmission/announcer.c b/libtransmission/announcer.c index 2d06b6e3c..c44ec3148 100644 --- a/libtransmission/announcer.c +++ b/libtransmission/announcer.c @@ -1191,7 +1191,7 @@ static void on_announce_done(tr_announce_response const* response, void* vdata) /* if the tracker included scrape fields in its announce response, then a separate scrape isn't needed */ - if (scrape_fields >= 3 || (scrape_fields >= 1 && tracker->scrape != NULL)) + if (scrape_fields >= 3 || (scrape_fields >= 1 && tracker->scrape == NULL)) { tr_logAddTorDbg(tier->tor, "Announce response contained scrape info; " "rescheduling next scrape to %d seconds from now.", tier->scrapeIntervalSec);