From: Remi Gacogne Date: Fri, 15 Apr 2022 12:21:57 +0000 (+0200) Subject: dnsdist: Fix formatting X-Git-Tag: auth-4.8.0-alpha0~130^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11547%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Fix formatting --- diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index 706572e4b0..c8b2bc1be7 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -2544,7 +2544,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) } }); - luaCtx.registerFunction::*)()const>("getAddressAndPort", [](const std::shared_ptr& frontend) { + luaCtx.registerFunction::*)() const>("getAddressAndPort", [](const std::shared_ptr& frontend) { if (frontend == nullptr) { return std::string(); } @@ -2709,7 +2709,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) } }); - luaCtx.registerFunction::*)()const>("getAddressAndPort", [](const std::shared_ptr& frontend) { + luaCtx.registerFunction::*)() const>("getAddressAndPort", [](const std::shared_ptr& frontend) { if (frontend == nullptr) { return std::string(); }