From: JINMEI Tatuya Date: Mon, 22 Oct 2012 18:26:00 +0000 (-0700) Subject: [2211] wording/grammer fixes to documentation and comments. X-Git-Tag: trac2402_base~3^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e13d083a39e86bcb60867b281ccd0a045bb55993;p=thirdparty%2Fkea.git [2211] wording/grammer fixes to documentation and comments. --- diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc index e282444550..157ae03bae 100644 --- a/src/bin/auth/auth_srv.cc +++ b/src/bin/auth/auth_srv.cc @@ -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_); diff --git a/src/bin/auth/datasrc_clients_mgr.h b/src/bin/auth/datasrc_clients_mgr.h index 4cef69ef23..ba79b5e068 100644 --- a/src/bin/auth/datasrc_clients_mgr.h +++ b/src/bin/auth/datasrc_clients_mgr.h @@ -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 diff --git a/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc b/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc index 3fefda03f8..a5d4928c92 100644 --- a/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc +++ b/src/bin/auth/tests/datasrc_clients_mgr_unittest.cc @@ -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,