Parcourir la source

spelling: immediately

Josh Soref il y a 7 ans
Parent
commit
65c0e66517

+ 7 - 7
src/bin/keactrl/tests/keactrl_tests.sh.in

@@ -200,7 +200,7 @@ Expected wait_for_message return %d, returned %d."
     assert_eq 0 ${_GET_LOG_MESSAGES} \
         "Expected get_log_messages return %d, returned %d."
 
-    # Server may shut down imediatelly after configuration has completed.
+    # Server may shut down immediately after configuration has completed.
     # Give it some time to shutdown.
     sleep 3
 
@@ -317,7 +317,7 @@ Expected wait_for_message return %d, returned %d."
     assert_eq 2 ${_GET_LOG_MESSAGES} \
         "Expected get_log_messages for DCT_STANDALONE return %d, returned %d."
 
-    # Server may shut down imediatelly after configuration has completed.
+    # Server may shut down immediately after configuration has completed.
     # Give it some time to shutdown.
     sleep 3
 
@@ -400,7 +400,7 @@ dhcp_ddns=no\nctrl_agent=no\nkea_verbose=no\n${keactrl_fixed_config}"
         "Timeout waiting for ${kea4_name} to start. \
 Expected wait_for_message return %d, returned %d."
 
-    # Server may shut down imediatelly after configuration has completed.
+    # Server may shut down immediately after configuration has completed.
     # Give it some time to shutdown.
     sleep 3
 
@@ -488,7 +488,7 @@ dhcp_ddns=no\nctrl_agent=no\nkea_verbose=no\n${keactrl_fixed_config}"
         "Timeout waiting for ${kea6_name} to start. \
 Expected wait_for_message return %d, returned %d."
 
-    # Server may shut down imediatelly after configuration has completed.
+    # Server may shut down immediately after configuration has completed.
     # Give it some time to shutdown.
     sleep 3
 
@@ -576,7 +576,7 @@ dhcp_ddns=no\nctrl_agent=no\nkea_verbose=no\n${keactrl_fixed_config}"
         "Timeout waiting for ${kea6_name} to start. \
 Expected wait_for_message return %d, returned %d."
 
-    # Server may shut down imediatelly after configuration has completed.
+    # Server may shut down immediately after configuration has completed.
     # Give it some time to shutdown.
     sleep 3
 
@@ -739,7 +739,7 @@ dhcp_ddns=no\nctrl_agent=yes\nkea_verbose=yes\n${keactrl_fixed_config}"
         "Timeout waiting for ${kea4_name} to start. \
 Expected wait_for_message return %d, returned %d."
 
-    # Server may shut down imediatelly after configuration has completed.
+    # Server may shut down immediately after configuration has completed.
     # Give it some time to shutdown.
     sleep 3
 
@@ -926,7 +926,7 @@ Expected wait_for_message return %d, returned %d."
     assert_eq 0 ${_GET_LOG_MESSAGES} \
     "Expected get_log_messages return %d, returned %d."
 
-    # Server may shut down imediatelly after configuration has completed.
+    # Server may shut down immediately after configuration has completed.
     # Give it some time to shutdown.
     sleep 3
 

+ 3 - 3
src/lib/asiolink/unix_domain_socket.h

@@ -58,7 +58,7 @@ public:
 
     /// @brief Asynchronously connects the socket to the specified endpoint.
     ///
-    /// Always returns immediatelly.
+    /// Always returns immediately.
     ///
     /// @param path Path to the unix socket to which we should connect.
     /// @param handler Callback to be invoked when connection is established or
@@ -76,7 +76,7 @@ public:
 
     /// @brief Asynchronously sends data over the socket.
     ///
-    /// Always returns immediatelly.
+    /// Always returns immediately.
     ///
     /// @param data Pointer to data to be sent.
     /// @param length Number of bytes to be sent.
@@ -96,7 +96,7 @@ public:
 
     /// @brief Asynchronously receives data over the socket.
     ///
-    /// Always returns immediatelly.
+    /// Always returns immediately.
     /// @param [out] data Pointer to a location into which the read data should
     /// be stored.
     /// @param length Length of the buffer.

+ 2 - 2
src/lib/config/client_connection.cc

@@ -124,7 +124,7 @@ ClientConnectionImpl::start(const ClientConnection::SocketPath& socket_path,
     // Pass self to lambda to make sure that the instance of this class
     // lives as long as the lambda is held for async connect.
     auto self(shared_from_this());
-    // Start asynchronous connect. This will return immediatelly.
+    // Start asynchronous connect. This will return immediately.
     socket_.asyncConnect(socket_path.socket_path_,
     [this, self, command, handler](const boost::system::error_code& ec) {
         // We failed to connect so we can't proceed. Simply clean up
@@ -149,7 +149,7 @@ ClientConnectionImpl::doSend(const void* buffer, const size_t length,
     // lives as long as the lambda is held for async send.
     auto self(shared_from_this());
     // Start asynchronous transmission of the command. This will return
-    // immediatelly.
+    // immediately.
     socket_.asyncSend(buffer, length,
         [this, self, buffer, length, handler]
         (const boost::system::error_code& ec, size_t bytes_transferred) {