mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-17 19:09:29 -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
1 changed files with 4 additions and 1 deletions
|
@ -257,7 +257,10 @@ bool ftController::completeFile(std::string hash)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* switch map */
|
/* 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 */
|
/* for extralist additions */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue