mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
tweak r2510 misassertion reported by Lacrocivious
This commit is contained in:
parent
cd52d97529
commit
9e266f6cbc
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ tr_cpDoneStats( const tr_completion_t * cp ,
|
|||
have -= ( tor->blockSize - ( info->totalSize % tor->blockSize ) );
|
||||
}
|
||||
|
||||
assert( have < total );
|
||||
assert( have <= total );
|
||||
assert( total <= info->totalSize );
|
||||
|
||||
*setmeHaveBytes = have;
|
||||
|
|
Loading…
Reference in a new issue