From 9c591809dad79eaae701120ba75401cb0489470e Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 15 Apr 2022 14:21:57 +0200 Subject: [PATCH] dnsdist: Fix formatting --- pdns/dnsdist-lua.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.47.2