mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 22:30:42 -04:00
added debug output to see which config files are loaded/saved
This commit is contained in:
parent
fb21e427be
commit
c6d0203557
1 changed files with 2 additions and 1 deletions
|
@ -318,6 +318,7 @@ bool p3Config::loadAttempt(const std::string& cfgFname,const std::string& signFn
|
||||||
if(signatureRead != signatureStored)
|
if(signatureRead != signatureStored)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
std::cerr << "(II) Loaded configuration file " << cfgFname << std::endl;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -328,7 +329,6 @@ bool p3Config::saveConfiguration()
|
||||||
|
|
||||||
bool p3Config::saveConfig()
|
bool p3Config::saveConfig()
|
||||||
{
|
{
|
||||||
|
|
||||||
bool cleanup = true;
|
bool cleanup = true;
|
||||||
std::list<RsItem *> toSave;
|
std::list<RsItem *> toSave;
|
||||||
saveList(cleanup, toSave);
|
saveList(cleanup, toSave);
|
||||||
|
@ -343,6 +343,7 @@ bool p3Config::saveConfig()
|
||||||
std::string cfgFname = Filename();
|
std::string cfgFname = Filename();
|
||||||
std::string signFname = Filename() + ".sgn";
|
std::string signFname = Filename() + ".sgn";
|
||||||
|
|
||||||
|
std::cerr << "(II) Saving configuration file " << cfgFname << std::endl;
|
||||||
|
|
||||||
uint32_t bioflags = BIN_FLAGS_HASH_DATA | BIN_FLAGS_WRITEABLE;
|
uint32_t bioflags = BIN_FLAGS_HASH_DATA | BIN_FLAGS_WRITEABLE;
|
||||||
uint32_t stream_flags = BIN_FLAGS_WRITEABLE;
|
uint32_t stream_flags = BIN_FLAGS_WRITEABLE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue