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
Sebastian Schrader
Kea
Commits
95750a3a
Commit
95750a3a
authored
May 16, 2015
by
Francis Dupont
Browse files
[master] spelling
parent
c817b5d1
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/bin/sockcreator/sockcreator.cc
View file @
95750a3a
...
...
@@ -282,7 +282,7 @@ run(const int input_fd, const int output_fd, get_sock_t get_sock,
case
'T'
:
// The "terminate" command
return
;
default:
// Don't recogni
s
e anything else
default:
// Don't recogni
z
e anything else
protocolError
(
output_fd
);
}
}
...
...
src/bin/sockcreator/sockcreator.h
View file @
95750a3a
...
...
@@ -97,7 +97,7 @@ getSock(const int type, struct sockaddr* bind_addr, const socklen_t addr_len,
const
close_t
close_fun
);
// Define some types for functions used to perform socket-related operations.
// These are typedefed so that alternatives can be passed through to the
// These are typedef
'
ed so that alternatives can be passed through to the
// main functions for testing purposes.
// Type of the function to get a socket and to pass it as parameter.
...
...
@@ -131,11 +131,11 @@ typedef int (*send_fd_t)(const int, const int);
/// a file descriptor. This should be left on the default value, it is
/// here for testing purposes.
/// \param close_fun The close function used to close sockets, coming from
/// unistd.h. It can be overriden in tests.
/// unistd.h. It can be overrid
d
en in tests.
///
/// \exception isc::socket_creator::ReadError Error reading from input
/// \exception isc::socket_creator::WriteError Error writing to output
/// \exception isc::socket_creator::ProtocolError Unrecogni
s
ed command received
/// \exception isc::socket_creator::ProtocolError Unrecogni
z
ed command received
/// \exception isc::socket_creator::InternalError Other error
void
run
(
const
int
input_fd
,
const
int
output_fd
,
get_sock_t
get_sock_fun
,
...
...
src/lib/dhcpsrv/lease_mgr_factory.h
View file @
95750a3a
...
...
@@ -25,7 +25,7 @@ namespace dhcp {
/// @brief Invalid type exception
///
/// Thrown when the factory doesn't recogni
s
e the type of the backend.
/// Thrown when the factory doesn't recogni
z
e the type of the backend.
class
InvalidType
:
public
Exception
{
public:
InvalidType
(
const
char
*
file
,
size_t
line
,
const
char
*
what
)
:
...
...
src/lib/dhcpsrv/logging_info.cc
View file @
95750a3a
...
...
@@ -129,7 +129,7 @@ LoggingInfo::toSpec() const {
}
}
else
{
// Not a recogni
s
ed destination, assume a file.
// Not a recogni
z
ed destination, assume a file.
option
.
destination
=
OutputOption
::
DEST_FILE
;
option
.
filename
=
dest
->
output_
;
}
...
...
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