Auto hotspot implementation

This commit is contained in:
Robin Davies
2024-09-11 00:06:52 -04:00
parent bbfd0a07fd
commit 448979e7fe
61 changed files with 5234 additions and 178 deletions
+2 -2
View File
@@ -193,7 +193,7 @@ void P2pSettings::Load()
}
static void openWithPerms(
static void openWithRestrictedPerms(
pipedal::ofstream_synced &f,
const std::filesystem::path &path,
std::filesystem::perms perms =
@@ -229,7 +229,7 @@ void P2pSettings::Save()
auto filename = config_filename();
try {
pipedal::ofstream_synced f;
openWithPerms(f,filename);
openWithRestrictedPerms(f,filename);
if (!f.is_open())
{