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:
csoler 2011-11-04 21:29:51 +00:00
parent d43a131c04
commit fa690de1d6
3 changed files with 6 additions and 4 deletions

View file

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