(trunk, libT) #5709 'Fix an instance of time_t printing' -- fixed, patch by naddy
This commit is contained in:
parent
084273c106
commit
b939f98ec7
|
@ -2892,9 +2892,9 @@ rechokeDownloads (tr_swarm * s)
|
||||||
const double mult = MIN (timeSinceCancel, maxHistory) / (double) maxHistory;
|
const double mult = MIN (timeSinceCancel, maxHistory) / (double) maxHistory;
|
||||||
const int inc = maxIncrease * mult;
|
const int inc = maxIncrease * mult;
|
||||||
maxPeers = s->maxPeers + inc;
|
maxPeers = s->maxPeers + inc;
|
||||||
tordbg (s, "time since last cancel is %li -- increasing the "
|
tordbg (s, "time since last cancel is %lli -- increasing the "
|
||||||
"number of peers we're interested in by %d",
|
"number of peers we're interested in by %d",
|
||||||
timeSinceCancel, inc);
|
(long long)timeSinceCancel, inc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue