From: Otto Moerbeek Date: Tue, 8 Jul 2025 08:56:58 +0000 (+0200) Subject: Formatting X-Git-Tag: rec-5.4.0-alpha0~41^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccf04a6fdb44baa0de3a23d810a121b383097be7;p=thirdparty%2Fpdns.git Formatting Signed-off-by: Otto Moerbeek --- diff --git a/pdns/recursordist/docs/lua-scripting/functions.rst b/pdns/recursordist/docs/lua-scripting/functions.rst index 895024e91c..298b9d0977 100644 --- a/pdns/recursordist/docs/lua-scripting/functions.rst +++ b/pdns/recursordist/docs/lua-scripting/functions.rst @@ -67,7 +67,7 @@ These are some functions that don't really have a place in one of the other cate .. function:: getConfigDirAndName() -> str, str - .. versionadded:: 5.2.4 + .. versionadded:: 5.2.x Get the configuration directory and the instance name. These two values correspond to the :ref:`setting-yaml-recursor.config_dir` and :ref:`setting-yaml-recursor.config_name` settings. diff --git a/pdns/recursordist/protozero-helpers.hh b/pdns/recursordist/protozero-helpers.hh index e88c888a4c..468578b37e 100644 --- a/pdns/recursordist/protozero-helpers.hh +++ b/pdns/recursordist/protozero-helpers.hh @@ -96,4 +96,3 @@ void decodeNetmask(protozero::pbf_message& message, Netmask& subnet) auto data = message.get_bytes(); memcpy(&subnet, data.data(), data.size()); } - diff --git a/pdns/recursordist/recursor_cache.cc b/pdns/recursordist/recursor_cache.cc index 0287b209c8..fc87608dac 100644 --- a/pdns/recursordist/recursor_cache.cc +++ b/pdns/recursordist/recursor_cache.cc @@ -997,7 +997,6 @@ enum class PBAuthRecord : protozero::pbf_tag_type required_uint32_clen = 7, }; - template void MemRecursorCache::getRecordSet(T& message, U recordSet) { diff --git a/pdns/recursordist/test-syncres_cc2.cc b/pdns/recursordist/test-syncres_cc2.cc index ca28f3d87a..8297413b2e 100644 --- a/pdns/recursordist/test-syncres_cc2.cc +++ b/pdns/recursordist/test-syncres_cc2.cc @@ -1433,7 +1433,6 @@ BOOST_AUTO_TEST_CASE(test_ns_speed) BOOST_CHECK_EQUAL(nsCounts[ComboAddress("192.0.2.2:53")], 1U); BOOST_CHECK_EQUAL(nsCounts[ComboAddress("[2001:DB8::2]:53")], 1U); - // read PB representation back and forth, compare using the text dump std::string temp1{"/tmp/speedDump1XXXXXX"}; std::string temp2{"/tmp/speedDump2XXXXXX"}; @@ -1478,7 +1477,6 @@ BOOST_AUTO_TEST_CASE(test_ns_speed) BOOST_CHECK(lines1 == lines2); } - BOOST_AUTO_TEST_CASE(test_flawed_nsset) { std::unique_ptr sr;