From: Otto Moerbeek Date: Thu, 12 Oct 2023 13:06:55 +0000 (+0200) Subject: Formatting X-Git-Tag: rec-5.0.0-alpha2~1^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa171aa0ff67166e55e5c69b6ca66bb4a28a4b47;p=thirdparty%2Fpdns.git Formatting --- diff --git a/pdns/recursordist/settings/cxxsupport.cc b/pdns/recursordist/settings/cxxsupport.cc index 37ccfc35d4..051ca54b5f 100644 --- a/pdns/recursordist/settings/cxxsupport.cc +++ b/pdns/recursordist/settings/cxxsupport.cc @@ -168,7 +168,7 @@ static void possiblyConvertACLFile(const string& includeDir, const string& apiDi else { yaml = pdns::rust::settings::rec::allow_from_to_yaml_string_incoming("allow_notify_from", "allow_notify_from_file", result); } - string yamlfilename = apiDir; + string yamlfilename = apiDir; yamlfilename.append("/").append(filename).append(".yml"); string tmpfilename = yamlfilename + ".tmp"; ofstream ofconf(tmpfilename); @@ -273,8 +273,7 @@ void pdns::settings::rec::processAPIDir(const string& includeDirOnCommandLine, p } const std::array aclFiles = { "allow-from", - "allow-notify-from" - }; + "allow-notify-from"}; for (const auto& file : aclFiles) { possiblyConvertACLFile(includeDir, apiDir, file, log); auto path = apiDir;