Parcourir la source

[master] fix spelling

Fix a misspelling in a log output.
Also fix same misspelling in some comments and unittest output.
Jeremy C. Reed il y a 12 ans
Parent
commit
c0c5ff359f

+ 1 - 1
src/bin/auth/command.cc

@@ -210,7 +210,7 @@ public:
             case ConfigurableClientList::ZONE_NOT_CACHED:
                 isc_throw(AuthCommandError, "Zone " << origin << "/" <<
                           zone_class << " is not served from memory, but "
-                          "direcly from the data source. It is not possible "
+                          "directly from the data source. It is not possible "
                           "to reload it into memory. Configure it to be cached "
                           "first.");
             case ConfigurableClientList::CACHE_DISABLED:

+ 2 - 2
src/lib/datasrc/tests/database_unittest.cc

@@ -2153,7 +2153,7 @@ TYPED_TEST(DatabaseClientTest, findDelegation) {
                this->rrttl_, ZoneFinder::DELEGATION, this->expected_rdatas_,
                this->expected_sig_rdatas_);
 
-    // And when we ask direcly for the NS, we should still get delegation
+    // And when we ask directly for the NS, we should still get delegation
     doFindTest(*finder, isc::dns::Name("delegation.example.org."),
                isc::dns::RRType::NS(), isc::dns::RRType::NS(),
                this->rrttl_, ZoneFinder::DELEGATION, this->expected_rdatas_,
@@ -2184,7 +2184,7 @@ TYPED_TEST(DatabaseClientTest, findDelegation) {
                this->expected_sig_rdatas_, ZoneFinder::RESULT_DEFAULT,
                isc::dns::Name("dname.example.org."));
 
-    // Asking direcly for DNAME should give SUCCESS
+    // Asking directly for DNAME should give SUCCESS
     doFindTest(*finder, isc::dns::Name("dname.example.org."),
                isc::dns::RRType::DNAME(), isc::dns::RRType::DNAME(),
                this->rrttl_, ZoneFinder::SUCCESS, this->expected_rdatas_,

+ 1 - 1
src/lib/datasrc/tests/memory_datasrc_unittest.cc

@@ -1511,7 +1511,7 @@ InMemoryZoneFinderTest::anyWildcardCheck(
 
     // First try directly the name (normal match)
     {
-        SCOPED_TRACE("Asking direcly for *");
+        SCOPED_TRACE("Asking directly for *");
         expected_sets.push_back(rr_wild_);
         findAllTest(Name("*.wild.example.org"), ZoneFinder::SUCCESS,
                     expected_sets);