BIND 10 trac3048, updated. ca9233574b5bea413b38916a0e3593ff8c581b1c [3048] Changes to comments after review

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jul 16 10:48:57 UTC 2013


The branch, trac3048 has been updated
       via  ca9233574b5bea413b38916a0e3593ff8c581b1c (commit)
      from  8c65dc3a4cc369eab2235b0ebc6d56dae4589c5a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ca9233574b5bea413b38916a0e3593ff8c581b1c
Author: Stephen Morris <stephen at isc.org>
Date:   Tue Jul 16 11:48:41 2013 +0100

    [3048] Changes to comments after review

-----------------------------------------------------------------------

Summary of changes:
 src/lib/hooks/server_hooks.cc |    8 ++++----
 src/lib/hooks/server_hooks.h  |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/hooks/server_hooks.cc b/src/lib/hooks/server_hooks.cc
index f934eff..3057d25 100644
--- a/src/lib/hooks/server_hooks.cc
+++ b/src/lib/hooks/server_hooks.cc
@@ -28,10 +28,10 @@ namespace hooks {
 // Constructor - register the pre-defined hooks and check that the indexes
 // assigned to them are as expected.
 //
-// Note that there are no logging messages here or in registerHooks().  One
-// method to initialize hook names is to use static initialization.  Here,
-// a static object is declared in a file outside of any function or method.
-// As a result, it is instantiated and its constructor run before the main
+// Note that there are no logging messages here or in registerHooks().  The
+// recommended way to initialize hook names is to use static initialization.
+// Here, a static object is declared in a file outside of any function or
+// method.  As a result, it is instantiated and its constructor run before the
 // program starts.  By putting calls to ServerHooks::registerHook() in there,
 // hooks names are already registered when the program runs.  However, at that
 // point, the logging system is not initialized, so messages are unable to
diff --git a/src/lib/hooks/server_hooks.h b/src/lib/hooks/server_hooks.h
index 4b53d14..c4a7ae8 100644
--- a/src/lib/hooks/server_hooks.h
+++ b/src/lib/hooks/server_hooks.h
@@ -149,7 +149,7 @@ private:
     /// for the packet has completed.  They allow the server code to allocate
     /// and destroy per-packet context.
     ///
-    /// Constructor is declared private to enforce the singleton nature of
+    /// The constructor is declared private to enforce the singleton nature of
     /// the object.  A reference to the singleton is obtainable through the
     /// getServerHooks() static method.
     ///
@@ -160,7 +160,7 @@ private:
     /// @brief Initialize hooks
     ///
     /// Sets the collection of hooks to the initial state, with just the
-    /// context_create and context_destroy hooks set.  This used during
+    /// context_create and context_destroy hooks set.  This is used during
     /// construction.
     ///
     /// @throws isc::Unexpected if the registration of the pre-defined hooks



More information about the bind10-changes mailing list