Browse Source

[2211] wording/grammer fixes to documentation and comments.

JINMEI Tatuya 12 years ago
parent
commit
e13d083a39

+ 1 - 1
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_);

+ 2 - 2
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

+ 1 - 1
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,