clean up completed cache files automatically

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@891 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
ewensun 2008-12-18 14:27:22 +00:00
parent 9b92699500
commit 6919d3bd7f

View File

@ -257,7 +257,10 @@ bool ftController::completeFile(std::string hash)
}
/* switch map */
mCompleted[fc->mHash] = *fc;
if (fc->mFlags & RS_FILE_HINTS_CACHE) /* clean up completed cache files automatically */
{
mCompleted[fc->mHash] = *fc;
}
/* for extralist additions */