mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
fix upload speed limit bug tracked down by makira_
This commit is contained in:
parent
d0273e97e3
commit
27f08f325d
1 changed files with 0 additions and 3 deletions
|
@ -141,9 +141,6 @@ tr_rcTransferred( tr_ratecontrol * r, size_t size )
|
||||||
{
|
{
|
||||||
uint64_t now;
|
uint64_t now;
|
||||||
|
|
||||||
if( size < 100 ) /* don't count small messages */
|
|
||||||
return;
|
|
||||||
|
|
||||||
tr_lockLock( (tr_lock*)r->lock );
|
tr_lockLock( (tr_lock*)r->lock );
|
||||||
|
|
||||||
now = tr_date ();
|
now = tr_date ();
|
||||||
|
|
Loading…
Reference in a new issue