From 38ffac8bf66f51913a5077ecbcc9d21a06e8eda9 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 1 Jun 2009 18:06:35 +0000 Subject: [PATCH] (trunk libT) fix bug that misparsed the tracker's min_request_interval --- libtransmission/tracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/tracker.c b/libtransmission/tracker.c index 18dd76379..a97f4230e 100644 --- a/libtransmission/tracker.c +++ b/libtransmission/tracker.c @@ -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... */