From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 19 Nov 2025 17:29:03 +0000 (-0500) Subject: spelling: necessarily X-Git-Tag: rec-5.4.0-alpha1~61^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b4da090289cf305b1ea7937f482437f144febdf;p=thirdparty%2Fpdns.git spelling: necessarily Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/recursordist/pdns_recursor.cc b/pdns/recursordist/pdns_recursor.cc index 279bbb1693..eca86a4812 100644 --- a/pdns/recursordist/pdns_recursor.cc +++ b/pdns/recursordist/pdns_recursor.cc @@ -2004,7 +2004,7 @@ void getQNameAndSubnet(const std::string& question, DNSName* dnsname, uint16_t* const auto* drh = reinterpret_cast(&question.at(pos)); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) if (ntohs(drh->d_type) == QType::OPT) { uint32_t edns{}; - memcpy(&edns, &drh->d_ttl, sizeof(edns)); // drh is not neccesarily aligned, so no uint32 assignment can be done + memcpy(&edns, &drh->d_ttl, sizeof(edns)); // drh is not necessarily aligned, so no uint32 assignment can be done ednsVersion = edns; } pos += sizeof(dnsrecordheader); diff --git a/pdns/recursordist/test-syncres_cc2.cc b/pdns/recursordist/test-syncres_cc2.cc index b000ad9384..750d3e80c6 100644 --- a/pdns/recursordist/test-syncres_cc2.cc +++ b/pdns/recursordist/test-syncres_cc2.cc @@ -1454,7 +1454,7 @@ BOOST_AUTO_TEST_CASE(test_ns_speed) fd2.reset(); BOOST_CHECK_EQUAL(records, count); - // NS speed table is a hashed unique table, which not neccesarily stable wrt recreation + // NS speed table is a hashed unique table, which not necessarily stable wrt recreation // So we read the lines, sort them and compare std::ifstream file1(temp1); std::ifstream file2(temp2);