]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: a
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 19:06:21 +0000 (14:06 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 20 Nov 2025 12:31:09 +0000 (07:31 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pdns/iputils.hh
pdns/recursordist/rec-rust-lib/Makefile.am
pdns/recursordist/rpzloader.cc
pdns/recursordist/test-syncres_cc10.cc
pdns/ssqlite3.hh
pdns/svc-records.cc

index 3a445eb9985ff0fa7b8b3d7f37e3a1786e464927..ce1c4715288a5b8a21e4ec1b32974055881beeb1 100644 (file)
@@ -983,7 +983,7 @@ struct hash<Netmask>
 
 /** Binary tree map implementation with <Netmask,T> 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<bool> used by NetmaskGroup, which only
  * wants to know if given IP address is matched in the prefixes stored.
  *
index f359a52b441408fcc8b2d77612d817f9b0cb3d67..fc368799dd8dd49bc620241fd3967407f6ce4326 100644 (file)
@@ -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
index 95cced490e4160aec678ef33af8a0312379885ce..24dec5abe15903c637a3452a1281a83f6aa82113 100644 (file)
@@ -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;
index 2cbd4ba57921da4e746e25cd0adcbdd244ed1c0a..70d649e39ad7669c9a8bff0e41f2640a80bf01d5 100644 (file)
@@ -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<DNSRecord> 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<DNSRecord> 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);
index 77b67171b5c0402cd14aefeac2d1804d66994fd1..d035d205f325f3c6dc2576ec72921891cd329d59 100644 (file)
@@ -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;
 };
index 5e676b2f86ba41f8784eb534f36b3881c91b3e46..12819860f7640c4e702817f0448584baa5a3d9ed 100644 (file)
@@ -143,7 +143,7 @@ SvcParam::SvcParam(const SvcParamKey &key, std::vector<uint16_t> &&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;
 }