1
0
Fork 0
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:
Charles Kerr 2007-07-27 01:59:48 +00:00
parent cd52d97529
commit 9e266f6cbc

View file

@ -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;