(trunk libT) fix bug that misparsed the tracker's min_request_interval
This commit is contained in:
parent
787ebbfab4
commit
38ffac8bf6
|
@ -651,7 +651,7 @@ onScrapeResponse( tr_session * session,
|
||||||
|
|
||||||
if( tr_bencDictFindDict( tordict, "flags", &flags ) )
|
if( tr_bencDictFindDict( tordict, "flags", &flags ) )
|
||||||
if( ( tr_bencDictFindInt( flags, "min_request_interval", &itmp ) ) )
|
if( ( tr_bencDictFindInt( flags, "min_request_interval", &itmp ) ) )
|
||||||
t->scrapeIntervalSec = i;
|
t->scrapeIntervalSec = itmp;
|
||||||
|
|
||||||
/* as per ticket #1045, safeguard against trackers returning
|
/* as per ticket #1045, safeguard against trackers returning
|
||||||
* a very low min_request_interval... */
|
* a very low min_request_interval... */
|
||||||
|
|
Loading…
Reference in New Issue