tweak r2510 misassertion reported by Lacrocivious
This commit is contained in:
parent
cd52d97529
commit
9e266f6cbc
|
@ -296,7 +296,7 @@ tr_cpDoneStats( const tr_completion_t * cp ,
|
||||||
have -= ( tor->blockSize - ( info->totalSize % tor->blockSize ) );
|
have -= ( tor->blockSize - ( info->totalSize % tor->blockSize ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
assert( have < total );
|
assert( have <= total );
|
||||||
assert( total <= info->totalSize );
|
assert( total <= info->totalSize );
|
||||||
|
|
||||||
*setmeHaveBytes = have;
|
*setmeHaveBytes = have;
|
||||||
|
|
Loading…
Reference in New Issue