From 50317d935d1ab636ba80959ab025614b43b36971 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 26 Feb 2014 21:53:27 +0000 Subject: [PATCH] removed call to IndicateConfigChanged() when completing a cache file git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.5@7152 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/ft/ftcontroller.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/ft/ftcontroller.cc b/libretroshare/src/ft/ftcontroller.cc index 0dc86834b..bf51d42b7 100644 --- a/libretroshare/src/ft/ftcontroller.cc +++ b/libretroshare/src/ft/ftcontroller.cc @@ -973,7 +973,9 @@ bool ftController::completeFile(std::string hash) rsFiles->ForceDirectoryCheck() ; } - IndicateConfigChanged(); /* completed transfer -> save */ + if(!(flags & RS_FILE_REQ_CACHE)) + IndicateConfigChanged(); /* completed transfer -> save config */ + return true; }