]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Formatting
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 12 Oct 2023 13:06:55 +0000 (15:06 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 12 Oct 2023 13:06:55 +0000 (15:06 +0200)
pdns/recursordist/settings/cxxsupport.cc

index 37ccfc35d42616db6b1ffd268cf6795b443f4fe5..051ca54b5f81ddf04b8cec414d1d6fc70d101f82 100644 (file)
@@ -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<std::string, 2> aclFiles = {
     "allow-from",
-    "allow-notify-from"
-  };
+    "allow-notify-from"};
   for (const auto& file : aclFiles) {
     possiblyConvertACLFile(includeDir, apiDir, file, log);
     auto path = apiDir;