(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
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ onScrapeResponse( tr_session * session,
if( tr_bencDictFindDict( tordict, "flags", &flags ) )
if( ( tr_bencDictFindInt( flags, "min_request_interval", &itmp ) ) )
t->scrapeIntervalSec = i;
t->scrapeIntervalSec = itmp;
/* as per ticket #1045, safeguard against trackers returning
* a very low min_request_interval... */