1
0
Fork 0
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:
Charles Kerr 2009-06-01 18:06:35 +00:00
parent 787ebbfab4
commit 38ffac8bf6

View file

@ -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... */