]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5100] Spelling, missing space and ignored argument
authorFrancis Dupont <fdupont@isc.org>
Sat, 7 Jan 2017 17:01:50 +0000 (18:01 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sat, 7 Jan 2017 17:01:50 +0000 (18:01 +0100)
src/lib/config/base_command_mgr.cc
src/lib/config/base_command_mgr.h
src/lib/config/hooked_command_mgr.h

index 94c46e01a74f81610598ae5406d64a9ef7dbe50b..18b25555aa101b346eb98caade3990560dda84f2 100644 (file)
@@ -82,7 +82,7 @@ BaseCommandMgr::processCommand(const isc::data::ConstElementPtr& cmd) {
     } catch (const Exception& e) {
         LOG_WARN(command_logger, COMMAND_PROCESS_ERROR2).arg(e.what());
         return (createAnswer(CONTROL_RESULT_ERROR,
-                             std::string("Error during command processing:")
+                             std::string("Error during command processing: ")
                              + e.what()));
     }
 }
@@ -154,7 +154,7 @@ BaseCommandMgr::handleCommand(const std::string& cmd_name,
 
 isc::data::ConstElementPtr
 BaseCommandMgr::listCommandsHandler(const std::string& name,
-                                    const isc::data::ConstElementPtr& params) {
+                                    const isc::data::ConstElementPtr& ) {
     using namespace isc::data;
     ElementPtr commands = Element::createList();
     for (HandlerContainer::const_iterator it = handlers_.begin();
index 970f2f1ce84b08496ee0ede2a14b663d2cb5c091..499dcdf744906fb5d0412d9ac1415863eea92234 100644 (file)
@@ -141,9 +141,9 @@ protected:
 
     /// @brief Handles the command having a given name and arguments.
     ///
-    /// This method can be overriden in the derived classes to provide
+    /// This method can be overridden in the derived classes to provide
     /// custom logic for processing commands. For example, the
-    /// @ref HookedCommandMgr extends this method to delegate commmands
+    /// @ref HookedCommandMgr extends this method to delegate commands
     /// processing to a hook library.
     ///
     /// @param cmd_name Command name.
index 88d7fd5f8e95dafffb90183971496e5e537d348c..044d3ebec010c37f3021707e1a7f4424add2d298 100644 (file)
@@ -49,7 +49,7 @@ private:
     /// @ref BaseCommandMgr::handleCommand is called.
     ///
     /// This method is private because it is its final implementation which
-    /// should not be overriden in the derived classes.
+    /// should not be overridden in the derived classes.
     ///
     /// @param cmd_name Command name.
     /// @param params Command arguments.