mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
9b92699500
commit
6919d3bd7f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user