]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: contain
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 16:37:33 +0000 (11:37 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 20 Nov 2025 12:31:10 +0000 (07:31 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pdns/dnsparser.cc
pdns/keyroller/pdnsapi/zone.py
pdns/recursordist/rec-protozero.hh

index b0eaa690ee1a18051a31da18b1746efdc2e03d8b..3809de27ff6e4b71854bdb600be6de71bea95084 100644 (file)
@@ -891,7 +891,7 @@ static int rewritePacketWithoutRecordTypes(const PacketBuffer& initialPacket, Pa
       if (qtypes.find(ah.d_type) == qtypes.end()) {
         // if this is not a safe type
         if (safeTypes.find(ah.d_type) == safeTypes.end()) {
-          // "unsafe" types might countain compressed data, so cancel rewrite
+          // "unsafe" types might contain compressed data, so cancel rewrite
           newContent.clear();
           return EIO;
         }
@@ -908,7 +908,7 @@ static int rewritePacketWithoutRecordTypes(const PacketBuffer& initialPacket, Pa
 
       if (qtypes.find(ah.d_type) == qtypes.end()) {
         if (safeTypes.find(ah.d_type) == safeTypes.end()) {
-          // "unsafe" types might countain compressed data, so cancel rewrite
+          // "unsafe" types might contain compressed data, so cancel rewrite
           newContent.clear();
           return EIO;
         }
@@ -924,7 +924,7 @@ static int rewritePacketWithoutRecordTypes(const PacketBuffer& initialPacket, Pa
 
       if (qtypes.find(ah.d_type) == qtypes.end()) {
         if (safeTypes.find(ah.d_type) == safeTypes.end()) {
-          // "unsafe" types might countain compressed data, so cancel rewrite
+          // "unsafe" types might contain compressed data, so cancel rewrite
           newContent.clear();
           return EIO;
         }
index d7eef2e9bf80f69068d0136280f441ec8a0c9e5d..5ba1693d31e41e9e3bcd01889607c162981af0a0 100644 (file)
@@ -64,7 +64,7 @@ class RRSet:
 class Record:
     def __init__(self, content, disabled):
         """
-        Represents a Record from the API. Note that is does not contian the rrname nor ttl (these are held by the
+        Represents a Record from the API. Note that is does not contain the rrname nor ttl (these are held by the
         encompassing :class:`RRSet` object).
 
         :param str content: The content of the record in zonefile-format
index 7655b3c0c34a9d07b511d29f120bd20d71f5e7a4..1bed1722d54f9e7ef9c15f801f4e8532a31246b4 100644 (file)
@@ -70,7 +70,7 @@ namespace ProtoZero
 
     void reserve(std::string::size_type sz1, std::string::size_type sz2)
     {
-      // We expect to grow the buffers, in the end the d_message will contains the (grown) d_response
+      // We expect to grow the buffers, in the end the d_message will contain the (grown) d_response
       // This is extra space in addition to what's already there
       // Different from what string.reserve() does
       std::string::size_type extra = sz1 + d_rspbuf.length() + sz2;