From: Peter van Dijk Date: Fri, 19 Jan 2024 13:44:35 +0000 (+0100) Subject: bit of formatting X-Git-Tag: dnsdist-1.9.0-rc1~26^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5fb49130cd8285d4a61c13f2ec86b706ef092bf7;p=thirdparty%2Fpdns.git bit of formatting --- diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index fb69c2763d..f23e9a4ee4 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -771,7 +771,7 @@ static void setupLuaRecords(LuaContext& lua) // NOLINT(readability-function-cogn if(input.length() >= 8) { auto last8 = input.substr(input.length()-8); if(sscanf(last8.c_str(), "%02x%02x%02x%02x", &x1, &x2, &x3, &x4)==4) { - return std::to_string(x1)+"."+std::to_string(x2)+"."+std::to_string(x3)+"."+std::to_string(x4); + return std::to_string(x1) + "." + std::to_string(x2) + "." + std::to_string(x3) + "." + std::to_string(x4); } } }