]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix formatting 11675/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 14 Oct 2022 12:47:30 +0000 (14:47 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 14 Oct 2022 12:47:30 +0000 (14:47 +0200)
pdns/dnsdist-lua.cc

index e5c09ae13c82896090155dcb265087bae80e5f07..96c46ceb452ab4e09165cf3152d03443aa9a598e 100644 (file)
@@ -2508,9 +2508,10 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck)
           try {
             std::map<int, std::string> ocspResponses = {};
             auto ctx = libssl_init_server_context(frontend->d_tlsConfig, ocspResponses);
-          } catch (const std::runtime_error& e) {
+          }
+          catch (const std::runtime_error& e) {
             errlog("Ignoring DoH frontend: '%s'", e.what());
-            return ;
+            return;
           }
         }
       }
@@ -2723,9 +2724,10 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck)
           try {
             std::map<int, std::string> ocspResponses = {};
             auto ctx = libssl_init_server_context(frontend->d_tlsConfig, ocspResponses);
-          } catch (const std::runtime_error& e) {
+          }
+          catch (const std::runtime_error& e) {
             errlog("Ignoring TLS frontend: '%s'", e.what());
-            return ;
+            return;
           }
         }
       }