]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2211] wording/grammer fixes to documentation and comments.
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 22 Oct 2012 18:26:00 +0000 (11:26 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 22 Oct 2012 18:26:00 +0000 (11:26 -0700)
src/bin/auth/auth_srv.cc
src/bin/auth/datasrc_clients_mgr.h
src/bin/auth/tests/datasrc_clients_mgr_unittest.cc

index e282444550a61988976b7f6889f62bb22f641a4b..157ae03bae81e2d382673ff058d5c8a62d537911 100644 (file)
@@ -631,7 +631,7 @@ AuthSrvImpl::processNormalQuery(const IOMessage& io_message, Message& message,
         local_edns->setUDPSize(AuthSrvImpl::DEFAULT_LOCAL_UDPSIZE);
         message.setEDNS(local_edns);
     }
-    // Get access to data source client list through the holder and keep thek
+    // Get access to data source client list through the holder and keep the
     // holder until the processing and rendering is done to avoid inter-thread
     // race.
     auth::DataSrcClientsMgr::Holder datasrc_holder(datasrc_clients_mgr_);
index 4cef69ef23b470f35ea35e927704d4c70ebe868c..ba79b5e06818891f01b34325a38328d258bbe55e 100644 (file)
@@ -195,8 +195,8 @@ public:
     ///
     /// This method simply passes the new configuration to the builder
     /// and immediately returns.  This method is basically exception free
-    /// as long as the caller a non NULL value for \c config_arg; it doesn't
-    /// validate the argument further.
+    /// as long as the caller passes a non NULL value for \c config_arg;
+    /// it doesn't validate the argument further.
     ///
     /// \brief isc::InvalidParameter config_arg is NULL.
     /// \brief std::bad_alloc
index 3fefda03f82ac9040d5b319a95ea73749babd70c..a5d4928c92cdd322243249f8f38722cb97abe8fd 100644 (file)
@@ -50,7 +50,7 @@ shutdownCheck() {
     EXPECT_TRUE(FakeDataSrcClientsBuilder::thread_waited);
 }
 
-// Commonly used patter of checking member variables shared between the
+// Commonly used pattern of checking member variables shared between the
 // manager and builder.
 void
 checkSharedMembers(size_t expected_queue_lock_count,