Fixed compile of gxs.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6767 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-09-26 10:09:40 +00:00
parent be2025382b
commit a98f1d90b0

View File

@ -2261,7 +2261,7 @@ int RsServer::StartupRetroShare()
if(!priorGxsDir.empty()) if(!priorGxsDir.empty())
cleanUpGxsDir = RsDirUtil::checkDirectory(priorGxsDir); cleanUpGxsDir = RsDirUtil::checkDirectory(priorGxsDir);
std::list<std::string> filesToKeep; std::set<std::string> filesToKeep;
bool cleanUpSuccess = RsDirUtil::cleanupDirectory(priorGxsDir, filesToKeep); bool cleanUpSuccess = RsDirUtil::cleanupDirectory(priorGxsDir, filesToKeep);
if(!cleanUpSuccess) if(!cleanUpSuccess)