From 432d573f2cb82b184f11ae6438c43ffa388fd965 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Mon, 29 May 2017 08:50:40 +0300 Subject: [PATCH] Fixup 2321bc3fad (unintended logic change, spotted by cfpp2p in #297) --- libtransmission/announcer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);