From 24ad7faff8deab2ffca5c63d875c77af638cfcb4 Mon Sep 17 00:00:00 2001 From: Wlodek Wencel Date: Mon, 29 Apr 2024 10:27:50 +0200 Subject: [#3361] fix typos --- src/lib/asiolink/io_asio_socket.h | 4 ++-- src/lib/asiolink/tests/udp_socket_unittest.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/asiolink/io_asio_socket.h b/src/lib/asiolink/io_asio_socket.h index 934fe4aea4..e34b0fcb47 100644 --- a/src/lib/asiolink/io_asio_socket.h +++ b/src/lib/asiolink/io_asio_socket.h @@ -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 diff --git a/src/lib/asiolink/tests/udp_socket_unittest.cc b/src/lib/asiolink/tests/udp_socket_unittest.cc index c607fce92a..4a7708061d 100644 --- a/src/lib/asiolink/tests/udp_socket_unittest.cc +++ b/src/lib/asiolink/tests/udp_socket_unittest.cc @@ -215,7 +215,7 @@ TEST(UDPSocket, SequenceTest) { UDPEndpoint server_remote_endpoint; // Address where server received message from // The client - the UDPSocket being tested - UDPSocket client(service); // Socket under test + UDPSocket 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 -- cgit v1.2.3