]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix broken indentation, as spotted by Josh Soref (thanks!)
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 3 Dec 2021 15:49:46 +0000 (16:49 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 3 Dec 2021 15:49:46 +0000 (16:49 +0100)
pdns/dnsdist-lua.cc
pdns/dnsdist-tcp.cc

index 03b8e826e257bbb2c3ffcdd95246452cb2cc4b12..0200a82e26a3bd21aa324f213f8b1c1202b455e6 100644 (file)
@@ -2820,8 +2820,8 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck)
 
       auto [success, error] = libssl_load_engine(engineName, defaultString ? std::optional<std::string>(*defaultString) : std::nullopt);
       if (!success) {
-       g_outputBuffer = "Error while trying to load TLS engine '" + engineName + "': " + error + "\n";
-       errlog("Error while trying to load TLS engine '%s': %s", engineName, error);
+        g_outputBuffer = "Error while trying to load TLS engine '" + engineName + "': " + error + "\n";
+        errlog("Error while trying to load TLS engine '%s': %s", engineName, error);
       }
     });
 #endif /* HAVE_LIBSSL */
index 4976fdc2f823b3be83571e8325544091a025e127..330076d27a5038aec94741e31f9965af1e4da7bb 100644 (file)
@@ -401,7 +401,7 @@ void IncomingTCPConnectionState::terminateClientConnection()
     auto state = shared_from_this();
     for (const auto fd : afds) {
       try {
-       state->d_threadData.mplexer->addReadFD(fd, handleAsyncReady, state);
+        state->d_threadData.mplexer->addReadFD(fd, handleAsyncReady, state);
       }
       catch (...) {
       }