(trunk libT) #4914 if a tracker has no scrape URL but the announce response contains any scrape fields, that's as close to a scrape as we're going to get, so use those fields.

This commit is contained in:
Jordan Lee 2012-05-22 20:21:00 +00:00
parent 32f846c1a6
commit f226d8a03f
1 changed files with 1 additions and 1 deletions

View File

@ -1143,7 +1143,7 @@ on_announce_done( const tr_announce_response * response,
/* if the tracker included scrape fields in its announce response,
then a separate scrape isn't needed */
if( scrape_fields >= 3 )
if( ( scrape_fields >= 3 ) || ( !tracker->scrape && ( scrape_fields >= 1 ) ) )
{
tr_tordbg( tier->tor, "Announce response contained scrape info; "
"rescheduling next scrape to %d seconds from now.",