Browse Source

[master] spelling

Francis Dupont 10 years ago
parent
commit
95750a3ae0

+ 1 - 1
src/bin/sockcreator/sockcreator.cc

@@ -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);
         }
     }

+ 3 - 3
src/bin/sockcreator/sockcreator.h

@@ -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,

+ 1 - 1
src/lib/dhcpsrv/lease_mgr_factory.h

@@ -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) :

+ 1 - 1
src/lib/dhcpsrv/logging_info.cc

@@ -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_;
         }