mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-15 04:22:27 -04:00
further log cleanings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2235 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a433eb6abd
commit
5aff139382
5 changed files with 86 additions and 89 deletions
|
@ -504,7 +504,9 @@ bool p3Config::saveConfiguration()
|
|||
if(!written)
|
||||
return false ;
|
||||
|
||||
std::cerr << "renaming " << fnametmp.c_str() << " to " << fname.c_str() << std::endl ;
|
||||
#ifdef CONFIG_DEBUG
|
||||
std::cerr << "renaming " << fnametmp.c_str() << " to " << fname.c_str() << std::endl;
|
||||
#endif
|
||||
|
||||
if(!RsDirUtil::renameFile(fnametmp,fname))
|
||||
{
|
||||
|
@ -517,8 +519,9 @@ bool p3Config::saveConfiguration()
|
|||
getPqiNotify()->AddSysMessage(0, RS_SYS_WARNING, "File rename error", "Error while renaming file " + fname + ": got error "+errlog.str());
|
||||
return false ;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
std::cerr << "Successfully wrote p3config file " << fname.c_str() << std::endl ;
|
||||
#endif
|
||||
/* else okay */
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue