diff options
| author | XYX12306 <[email protected]> | 2020-05-15 19:52:14 +0800 |
|---|---|---|
| committer | XYX12306 <[email protected]> | 2020-05-15 19:52:14 +0800 |
| commit | fe2122d076e7f8e17145f19a4b28f59b43a5a04c (patch) | |
| tree | 80eb3d5a4641d475de96954711ca97e66d11c461 /components/net/sal_socket/src | |
| parent | 572df0f5bfaad8827948401227705733466dc419 (diff) | |
| parent | 4ef35a9deef1512aaebed45bb721984a23f06561 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'components/net/sal_socket/src')
| -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); |
