mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 17:15:16 -04:00
fixed file rename error
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3034 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3fdd570f62
commit
f36f92eb24
1 changed files with 2 additions and 2 deletions
|
@ -1726,6 +1726,8 @@ bool p3GroupDistrib::backUpKeys(const std::list<RsDistribGrpKey* >& keysToBackUp
|
|||
|
||||
}
|
||||
|
||||
delete store;
|
||||
|
||||
if(!RsDirUtil::renameFile(filenametmp,filename))
|
||||
{
|
||||
std::ostringstream errlog;
|
||||
|
@ -1738,8 +1740,6 @@ bool p3GroupDistrib::backUpKeys(const std::list<RsDistribGrpKey* >& keysToBackUp
|
|||
return false;
|
||||
}
|
||||
|
||||
delete store;
|
||||
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue