Commit 95750a3a authored by Francis Dupont's avatar Francis Dupont

[master] spelling

parent c817b5d1
......@@ -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 recognise anything else
default: // Don't recognize anything else
protocolError(output_fd);
}
}
......
......@@ -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 overridden 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 Unrecognised command received
/// \exception isc::socket_creator::ProtocolError Unrecognized 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,
......
......@@ -25,7 +25,7 @@ namespace dhcp {
/// @brief Invalid type exception
///
/// Thrown when the factory doesn't recognise the type of the backend.
/// Thrown when the factory doesn't recognize the type of the backend.
class InvalidType : public Exception {
public:
InvalidType(const char* file, size_t line, const char* what) :
......
......@@ -129,7 +129,7 @@ LoggingInfo::toSpec() const {
}
} else {
// Not a recognised destination, assume a file.
// Not a recognized destination, assume a file.
option.destination = OutputOption::DEST_FILE;
option.filename = dest->output_;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment