From: Remi Gacogne Date: Fri, 3 Dec 2021 15:49:46 +0000 (+0100) Subject: dnsdist: Fix broken indentation, as spotted by Josh Soref (thanks!) X-Git-Tag: auth-4.7.0-alpha1~120^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d08a45105b3b57425a8d277cf82c7cb42f95dd2;p=thirdparty%2Fpdns.git dnsdist: Fix broken indentation, as spotted by Josh Soref (thanks!) --- diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index 03b8e826e2..0200a82e26 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -2820,8 +2820,8 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) auto [success, error] = libssl_load_engine(engineName, defaultString ? std::optional(*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 */ diff --git a/pdns/dnsdist-tcp.cc b/pdns/dnsdist-tcp.cc index 4976fdc2f8..330076d27a 100644 --- a/pdns/dnsdist-tcp.cc +++ b/pdns/dnsdist-tcp.cc @@ -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 (...) { }