From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 19 Nov 2025 19:06:21 +0000 (-0500) Subject: spelling: a X-Git-Tag: rec-5.4.0-alpha1~61^2~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1db1c329fed267b80dfa1756bf75289d3bbcf90;p=thirdparty%2Fpdns.git spelling: a Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/iputils.hh b/pdns/iputils.hh index 3a445eb998..ce1c471528 100644 --- a/pdns/iputils.hh +++ b/pdns/iputils.hh @@ -983,7 +983,7 @@ struct hash /** Binary tree map implementation with pair. * - * This is an binary tree implementation for storing attributes for IPv4 and IPv6 prefixes. + * This is a binary tree implementation for storing attributes for IPv4 and IPv6 prefixes. * The most simple use case is simple NetmaskTree used by NetmaskGroup, which only * wants to know if given IP address is matched in the prefixes stored. * diff --git a/pdns/recursordist/rec-rust-lib/Makefile.am b/pdns/recursordist/rec-rust-lib/Makefile.am index f359a52b44..fc368799dd 100644 --- a/pdns/recursordist/rec-rust-lib/Makefile.am +++ b/pdns/recursordist/rec-rust-lib/Makefile.am @@ -19,7 +19,7 @@ BUILT_SOURCES=cxxsettings-generated.cc rust/src/lib.rs # We need to clean in the Rust dir, as in some cases the Serde/CXX derive/generate code does not get # re-run by cargo after rust/src/lib.rs changed because of a generate.py run. In that case we end up -# with an rust/src/lib.rs.h that does not contain e.g. field name or field type changes. This +# with a rust/src/lib.rs.h that does not contain e.g. field name or field type changes. This # cleanup is now done from generate.py itself. # # Use patterns to avoid having two instances of generate run simultaneously, a well-known hack for GNU make diff --git a/pdns/recursordist/rpzloader.cc b/pdns/recursordist/rpzloader.cc index 95cced490e..24dec5abe1 100644 --- a/pdns/recursordist/rpzloader.cc +++ b/pdns/recursordist/rpzloader.cc @@ -145,7 +145,7 @@ static void RPZRecordToPolicy(const DNSRecord& dnsRecord, const std::shared_ptr< + a child of a top level domain starting with "rpz-". */ else if (!crcTarget.empty() && !crcTarget.isRoot() && crcTarget.getRawLabel(crcTarget.countLabels() - 1).compare(0, rpzPrefix.length(), rpzPrefix) == 0) { - /* this is very likely an higher format number or a configuration error, + /* this is very likely a higher format number or a configuration error, let's just ignore it. */ log->info(Logr::Info, "Discarding unsupported RPZ entry", "target", Logging::Loggable(crcTarget), "name", Logging::Loggable(dnsRecord.d_name)); return; diff --git a/pdns/recursordist/test-syncres_cc10.cc b/pdns/recursordist/test-syncres_cc10.cc index 2cbd4ba579..70d649e39a 100644 --- a/pdns/recursordist/test-syncres_cc10.cc +++ b/pdns/recursordist/test-syncres_cc10.cc @@ -2005,7 +2005,7 @@ BOOST_AUTO_TEST_CASE(test_glued_referral_additional_update) } }); - // Lookup first name. We should see the address of an nameserver in the cache + // Lookup first name. We should see the address of a nameserver in the cache vector ret; int res = sr->beginResolve(target1, QType(QType::A), QClass::IN, ret); BOOST_CHECK_EQUAL(res, RCode::NoError); @@ -2096,7 +2096,7 @@ BOOST_AUTO_TEST_CASE(test_glued_referral_additional_no_update_because_locked) } }); - // Lookup first name. We should see the address of an nameserver in the cache + // Lookup first name. We should see the address of a nameserver in the cache vector ret; int res = sr->beginResolve(target1, QType(QType::A), QClass::IN, ret); BOOST_CHECK_EQUAL(res, RCode::NoError); @@ -2109,7 +2109,7 @@ BOOST_AUTO_TEST_CASE(test_glued_referral_additional_no_update_because_locked) // Move the time sr->setNow({sr->getNow().tv_sec + 2, sr->getNow().tv_usec}); - // Lookup second name. We should see the address of an nameserver in the cache *not* being updated + // Lookup second name. We should see the address of a nameserver in the cache *not* being updated ret.clear(); res = sr->beginResolve(target2, QType(QType::A), QClass::IN, ret); BOOST_CHECK_EQUAL(res, RCode::NoError); diff --git a/pdns/ssqlite3.hh b/pdns/ssqlite3.hh index 77b67171b5..d035d205f3 100644 --- a/pdns/ssqlite3.hh +++ b/pdns/ssqlite3.hh @@ -54,6 +54,6 @@ public: [[nodiscard]] bool inTransaction() const { return m_in_transaction; }; - //! Used to create an backend specific exception message. + //! Used to create a backend specific exception message. SSqlException sPerrorException(const std::string& reason) override; }; diff --git a/pdns/svc-records.cc b/pdns/svc-records.cc index 5e676b2f86..12819860f7 100644 --- a/pdns/svc-records.cc +++ b/pdns/svc-records.cc @@ -143,7 +143,7 @@ SvcParam::SvcParam(const SvcParamKey &key, std::vector &&value) : d_ke SvcParam::SvcParam(const SvcParamKey &key, const uint16_t value) { d_key = key; if (d_key != SvcParamKey::port) { - throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with an port value"); + throw std::invalid_argument("can not create SvcParam for " + keyToString(key) + " with a port value"); } d_port = value; }