]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply typo-in-comment fixes from code review 13282/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 11 Sep 2023 10:00:20 +0000 (12:00 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 22 Sep 2023 07:19:44 +0000 (09:19 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/recursordist/test-aggressive_nsec_cc.cc

index 54bd7c043b3b6be200e9eba8a13fa3943dd7cf48..1809deea237118024f1285dcb9c3e2e6f2f00cad 100644 (file)
@@ -1208,13 +1208,13 @@ BOOST_AUTO_TEST_CASE(test_aggressive_nsec_pruning)
   BOOST_CHECK_EQUAL(cache->getEntriesCount(), 3U);
 
   /* we have set a upper bound to 2 entries, so we are above,
-     and one entry are actually expired, so we will prune one entry
+     and one entry is actually expired, so we will prune one entry
      to get below the limit */
   cache->prune(now.tv_sec + 15);
   BOOST_CHECK_EQUAL(cache->getEntriesCount(), 2U);
 
-  /* now we are at the limit, so we will scan 1/5th of all zones entries, rounded up,
-     and prune the expired ones, which mean we will also remoing twoe */
+  /* now we are at the limit, so we will scan 1/10th of all zones entries, rounded up,
+     and prune the expired ones, which mean we will also be removing the remaining two */
   cache->prune(now.tv_sec + 600);
   BOOST_CHECK_EQUAL(cache->getEntriesCount(), 0U);
 }