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

@ -744,7 +744,10 @@ bool ftTransferModule::checkCRC()
}
else
{
mFlag = FT_TM_FLAG_COMPLETE ;
// We do as if the file is not complete. This way, it finishes properly.
//
mFlag = FT_TM_FLAG_DOWNLOADING ;
mFileStatus.stat = ftFileStatus::PQIFILE_DOWNLOADING;
#ifdef FT_DEBUG
std::cerr << "ftTransferModule::checkCRC(): Done. CRC check is ok, file is complete." << std::endl ;
#endif