mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-19 23:05:51 -04:00
added debug output to see which config files are loaded/saved
This commit is contained in:
parent
fb21e427be
commit
c6d0203557
@ -318,6 +318,7 @@ bool p3Config::loadAttempt(const std::string& cfgFname,const std::string& signFn
|
||||
if(signatureRead != signatureStored)
|
||||
return false;
|
||||
|
||||
std::cerr << "(II) Loaded configuration file " << cfgFname << std::endl;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -328,7 +329,6 @@ bool p3Config::saveConfiguration()
|
||||
|
||||
bool p3Config::saveConfig()
|
||||
{
|
||||
|
||||
bool cleanup = true;
|
||||
std::list<RsItem *> toSave;
|
||||
saveList(cleanup, toSave);
|
||||
@ -343,6 +343,7 @@ bool p3Config::saveConfig()
|
||||
std::string cfgFname = Filename();
|
||||
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 stream_flags = BIN_FLAGS_WRITEABLE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user