diff options
| author | Bernard Xiong <[email protected]> | 2020-05-09 14:37:54 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-09 14:37:54 +0800 |
| commit | b2b8887cead6bfb86f1c1cd00cf5c9569cf92014 (patch) | |
| tree | 52535e98825a2d4c48c43a13c2032a8dfe4a4315 /components/net/sal_socket | |
| parent | 6fb9824348fe9e1735b26c05e6e6de73348c04a1 (diff) | |
| parent | 88a02d7bd8fc32a81b5a60e1e27853a70bb9f62a (diff) | |
Merge pull request #3587 from luhuadong/develop
fixed some typos
Diffstat (limited to 'components/net/sal_socket')
| -rw-r--r-- | components/net/sal_socket/src/sal_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/net/sal_socket/src/sal_socket.c b/components/net/sal_socket/src/sal_socket.c index bd51c829c6..e3bea5a28e 100644 --- a/components/net/sal_socket/src/sal_socket.c +++ b/components/net/sal_socket/src/sal_socket.c @@ -679,7 +679,7 @@ int sal_shutdown(int socket, int how) /* get the socket object by socket descriptor */ SAL_SOCKET_OBJ_GET(sock, socket); - /* shutdown operation not nead to check network interface status */ + /* shutdown operation not need to check network interface status */ /* check the network interface socket opreation */ SAL_NETDEV_SOCKETOPS_VALID(sock->netdev, pf, shutdown); @@ -970,7 +970,7 @@ int sal_closesocket(int socket) /* get the socket object by socket descriptor */ SAL_SOCKET_OBJ_GET(sock, socket); - /* clsoesocket operation not nead to vaild network interface status */ + /* clsoesocket operation not need to vaild network interface status */ /* valid the network interface socket opreation */ SAL_NETDEV_SOCKETOPS_VALID(sock->netdev, pf, socket); |
