Browse Source

[1698-test] minor editorial fixes: folded lines, obvious typo, redundant space.

JINMEI Tatuya 13 years ago
parent
commit
321b22346c

+ 6 - 5
src/lib/log/logger.h

@@ -116,13 +116,14 @@ public:
     ///
     /// \note The name of the logger may be no longer than MAX_LOGGER_NAME_SIZE
     /// else the program will halt with an assertion failure.  This restriction
-    /// allows loggers to be declared statically: the name is stored in a fixed-
-    /// size array to avoid the need to allocate heap storage during program
-    /// initialization (which causes problems on some operating systems).
+    /// allows loggers to be declared statically: the name is stored in a
+    /// fixed-size array to avoid the need to allocate heap storage during
+    /// program initialization (which causes problems on some operating
+    /// systems).
     ///
     /// \note Note also that there is no constructor taking a std::string. This
-    /// minimises the possibility of initializing a static logger with a string,
-    /// so leading to problems mentioned above.
+    /// minimises the possibility of initializing a static logger with a
+    /// string, so leading to problems mentioned above.
     Logger(const char* name) : loggerptr_(NULL) {
         assert(std::strlen(name) < sizeof(name_));
         std::strcpy(name_, name);

+ 1 - 1
src/lib/log/logger_manager.cc

@@ -95,7 +95,7 @@ void
 LoggerManager::init(const std::string& root, isc::log::Severity severity,
                     int dbglevel, const char* file)
 {
-    // Load in the messages declared in the program and registered by 
+    // Load in the messages declared in the program and registered by
     // statically-declared MessageInitializer objects.
     MessageInitializer::loadDictionary();
 

+ 1 - 1
src/lib/log/message_initializer.cc

@@ -28,7 +28,7 @@
 //    of system libraries is also carried out at the same time.
 // 2) After main() starts executing, loadDictionary() is called.
 //
-// 
+//
 
 namespace {
 

+ 1 - 1
src/lib/log/message_initializer.h

@@ -52,7 +52,7 @@ namespace log {
 /// something that may give problems on some operating systems.
 ///
 /// When messages are added to the dictionary, the are added via the
-/// MessageDictionary::add() method, so any duplicates are stored in the the
+/// MessageDictionary::add() method, so any duplicates are stored in the
 /// global dictionary's overflow vector whence they can be retrieved at
 /// run-time.