Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
814f4cc4
Commit
814f4cc4
authored
Jan 07, 2017
by
Francis Dupont
Browse files
[5100] Spelling, missing space and ignored argument
parent
9c6c568a
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lib/config/base_command_mgr.cc
View file @
814f4cc4
...
...
@@ -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
();
...
...
src/lib/config/base_command_mgr.h
View file @
814f4cc4
...
...
@@ -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 overrid
d
en in the derived classes to provide
/// custom logic for processing commands. For example, the
/// @ref HookedCommandMgr extends this method to delegate comm
m
ands
/// @ref HookedCommandMgr extends this method to delegate commands
/// processing to a hook library.
///
/// @param cmd_name Command name.
...
...
src/lib/config/hooked_command_mgr.h
View file @
814f4cc4
...
...
@@ -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 overrid
d
en in the derived classes.
///
/// @param cmd_name Command name.
/// @param params Command arguments.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment