From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 19 Nov 2025 17:30:41 +0000 (-0500) Subject: spelling: occurrences X-Git-Tag: rec-5.4.0-alpha1~61^2~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=712688e8c85e28ee0f87bd63da68da190a652388;p=thirdparty%2Fpdns.git spelling: occurrences Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/recursordist/test-syncres_cc1.cc b/pdns/recursordist/test-syncres_cc1.cc index 3e3efa3691..4fc9aa3d43 100644 --- a/pdns/recursordist/test-syncres_cc1.cc +++ b/pdns/recursordist/test-syncres_cc1.cc @@ -2002,13 +2002,13 @@ BOOST_AUTO_TEST_CASE(test_cname_long_step0_shortcut) // influences the number of failing Step0 lookups. auto counter = [](const string& str) { const std::string key = "Step0 Not cached"; - size_t occurences = 0; + size_t occurrences = 0; auto pos = str.find(key); while (pos != std::string::npos) { - occurences++; + occurrences++; pos = str.find(key, pos + 1); } - return occurences; + return occurrences; }; vector ret; int res = resolver->beginResolve(target1, QType(QType::AAAA), QClass::IN, ret);