From aa171aa0ff67166e55e5c69b6ca66bb4a28a4b47 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Thu, 12 Oct 2023 15:06:55 +0200 Subject: [PATCH] Formatting --- pdns/recursordist/settings/cxxsupport.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.47.2