fixed missing fclose before rename

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7833 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-01-10 19:05:49 +00:00
parent 4d26726a88
commit eacdbe6ddd

View File

@ -269,6 +269,8 @@ void HashCache::save()
goto save_close;
}
fclose(F) ;
RsDirUtil::renameFile(_path+".bin.tmp",_path+".bin") ;
#ifdef FIM_DEBUG
std::cerr << "done." << std::endl ;