mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 18:15:18 -04:00
small bug fixes about CRC32 verification when the file is actually complete.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d43a131c04
commit
fa690de1d6
3 changed files with 6 additions and 4 deletions
|
@ -653,8 +653,7 @@ bool ftFileCreator::crossCheckChunkMap(const CRC32Map& ref,uint32_t& bad_chunks,
|
|||
|
||||
delete[] buff ;
|
||||
|
||||
if(bad_chunks > 0)
|
||||
chunkMap.setAvailabilityMap(map) ;
|
||||
chunkMap.setAvailabilityMap(map) ;
|
||||
}
|
||||
closeFile() ;
|
||||
return true ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue