From 6f15b04655eab9b5f6dbdd31b7015b2829c5ddfe Mon Sep 17 00:00:00 2001 From: Seppo Takalo Date: Fri, 11 Jan 2019 11:48:45 +0200 Subject: [PATCH] Fix review findings. --- features/cellular/framework/API/CellularNetwork.h | 1 + features/netsocket/Socket.h | 4 ++-- features/netsocket/WiFiInterface.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/features/cellular/framework/API/CellularNetwork.h b/features/cellular/framework/API/CellularNetwork.h index 7e91c1b384e..bb832311157 100644 --- a/features/cellular/framework/API/CellularNetwork.h +++ b/features/cellular/framework/API/CellularNetwork.h @@ -1,3 +1,4 @@ +/* * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software diff --git a/features/netsocket/Socket.h b/features/netsocket/Socket.h index 006ec256e7d..d625a9ef259 100644 --- a/features/netsocket/Socket.h +++ b/features/netsocket/Socket.h @@ -112,8 +112,8 @@ class Socket { /** Send a message on a socket. * * The sendto() function sends a message through a connection-mode or connectionless-mode socket. - * If the socket is in connectionless-mode, the message is sent to the address specified. - * If the socket is in connection-mode, address is ignored. + * If the socket is a connectionless-mode socket, the message is sent to the address specified. + * If the socket is a connected-mode socket, address is ignored. * * By default, sendto blocks until data is sent. If socket is set to * non-blocking or times out, NSAPI_ERROR_WOULD_BLOCK is returned diff --git a/features/netsocket/WiFiInterface.h b/features/netsocket/WiFiInterface.h index 2721513f4e0..54401cf1e72 100644 --- a/features/netsocket/WiFiInterface.h +++ b/features/netsocket/WiFiInterface.h @@ -26,7 +26,7 @@ #include "netsocket/NetworkInterface.h" #include "netsocket/WiFiAccessPoint.h" -/** Common interface that between Wi-Fi devices. +/** Common interface between Wi-Fi devices. */ class WiFiInterface: public virtual NetworkInterface { public: