From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 19 Nov 2025 16:37:33 +0000 (-0500) Subject: spelling: contain X-Git-Tag: rec-5.4.0-alpha1~61^2~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=872e6b79758d4359a86d108a8518305b3b109d25;p=thirdparty%2Fpdns.git spelling: contain Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/dnsparser.cc b/pdns/dnsparser.cc index b0eaa690ee..3809de27ff 100644 --- a/pdns/dnsparser.cc +++ b/pdns/dnsparser.cc @@ -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; } diff --git a/pdns/keyroller/pdnsapi/zone.py b/pdns/keyroller/pdnsapi/zone.py index d7eef2e9bf..5ba1693d31 100644 --- a/pdns/keyroller/pdnsapi/zone.py +++ b/pdns/keyroller/pdnsapi/zone.py @@ -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 diff --git a/pdns/recursordist/rec-protozero.hh b/pdns/recursordist/rec-protozero.hh index 7655b3c0c3..1bed1722d5 100644 --- a/pdns/recursordist/rec-protozero.hh +++ b/pdns/recursordist/rec-protozero.hh @@ -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;