mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
(trunk libT) fix bug that misparsed the tracker's min_request_interval
This commit is contained in:
parent
787ebbfab4
commit
38ffac8bf6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue