From: Miod Vallat Date: Wed, 22 Oct 2025 14:45:55 +0000 (+0200) Subject: Make a comment more readable. X-Git-Tag: rec-5.4.0-beta1~72^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16348%2Fhead;p=thirdparty%2Fpdns.git Make a comment more readable. Signed-off-by: Miod Vallat --- diff --git a/pdns/rfc2136handler.cc b/pdns/rfc2136handler.cc index 6922a60bee..2a89473eda 100644 --- a/pdns/rfc2136handler.cc +++ b/pdns/rfc2136handler.cc @@ -861,7 +861,7 @@ static uint8_t updatePrereqCheck323(MOADNSParser& mdp, const updateContext& ctx) if (rec.qtype == rrSet.second) { foundRR++; for (auto& rrItem : *vec) { - rrItem.ttl = rec.ttl; // The compare one line below also compares TTL, so we make them equal because TTL is not user within prerequisite checks. + rrItem.ttl = rec.ttl; // The comparison on the next line also compares TTL, so we make them equal because TTL is not used within prerequisite checks. if (rrItem == rec) { matchRR++; } @@ -958,7 +958,7 @@ static uint8_t updateRecords(MOADNSParser& mdp, DNSSECKeeper& dsk, uint& changed while (ctx.di.backend->get(rec)) { nsRRInZone.push_back(rec); } - if (nsRRInZone.size() > nsRRtoDelete.size()) { // only delete if the NS's we delete are less then what we have in the zone (3.4.2.4) + if (nsRRInZone.size() > nsRRtoDelete.size()) { // only delete if the NS's we delete are less than what we have in the zone (3.4.2.4) for (auto& inZone : nsRRInZone) { for (auto& resrec : nsRRtoDelete) { if (inZone.getZoneRepresentation() == resrec->getContent()->getZoneRepresentation()) {