]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3361] fix typos Kea-2.5.8
authorWlodek Wencel <wlodek@isc.org>
Mon, 29 Apr 2024 08:27:50 +0000 (10:27 +0200)
committerWlodek Wencel <wlodek@isc.org>
Mon, 29 Apr 2024 08:27:50 +0000 (10:27 +0200)
src/lib/asiolink/io_asio_socket.h
src/lib/asiolink/tests/udp_socket_unittest.cc

index 934fe4aea41485e3e153c9ba4674e1eef7a52b1a..e34b0fcb47956295be9e8b0f02db40f2dd579de0 100644 (file)
@@ -146,7 +146,7 @@ public:
     /// asynchronous operation.  On a UDP socket, it is just a call to "open()"
     /// and completes synchronously.
     ///
-    /// For TCP, signalling of the completion of the operation is done by
+    /// For TCP, signaling of the completion of the operation is done by
     /// by calling the callback function in the normal way.  This could be done
     /// for UDP (by posting en event on the event queue); however, that will
     /// incur additional overhead in the most common case.  So we give the
@@ -170,7 +170,7 @@ public:
     /// \brief Open AsioSocket
     ///
     /// Opens the socket for asynchronous I/O.  The open will complete
-    /// synchronously on UCP or asynchronously on TCP (in which case a callback
+    /// synchronously on UDP or asynchronously on TCP (in which case a callback
     /// will be queued).
     ///
     /// \param endpoint Pointer to the endpoint object.  This is ignored for
index c607fce92a7293517eadcc14610c292ee919deb5..4a7708061d51e278b99c34b2b54dbf59b05a7985 100644 (file)
@@ -215,7 +215,7 @@ TEST(UDPSocket, SequenceTest) {
     UDPEndpoint server_remote_endpoint;                       // Address where server received message from
 
     // The client - the UDPSocket being tested
-    UDPSocket<UDPCallback>  client(service);                  // Socket under test
+    UDPSocket<UDPCallback> client(service);                   // Socket under test
     UDPCallback client_cb("Client");                          // Async I/O callback function
     UDPEndpoint client_remote_endpoint;                       // Where client receives message from
     size_t      client_cumulative = 0;                        // Cumulative data received