]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: occurrences
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 17:30:41 +0000 (12:30 -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/recursordist/test-syncres_cc1.cc

index 3e3efa3691e899e6e19b40c2aec04da6f20e6bee..4fc9aa3d438f64ba859c8ae3b092c3918c210fc1 100644 (file)
@@ -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<DNSRecord> ret;
   int res = resolver->beginResolve(target1, QType(QType::AAAA), QClass::IN, ret);