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
1 changed files with 1 additions and 1 deletions

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;