You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/09 10:38:08 UTC

[incubator-nuttx] branch pr64 updated: Fix typo in the sockfd_socket description

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch pr64
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/pr64 by this push:
     new db3826b  Fix typo in the sockfd_socket description
db3826b is described below

commit db3826bf2c9dbe14499403d9b0f61e6692feecb3
Author: junmin-kim <ju...@samsung.com>
AuthorDate: Thu Jan 9 16:46:32 2020 +0900

    Fix typo in the sockfd_socket description
---
 include/nuttx/net/net.h  | 2 +-
 net/socket/net_sockets.c | 2 +-
 net/socket/socket.h      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/nuttx/net/net.h b/include/nuttx/net/net.h
index 0d1f230..1efa774 100644
--- a/include/nuttx/net/net.h
+++ b/include/nuttx/net/net.h
@@ -520,7 +520,7 @@ void net_releaselist(FAR struct socketlist *list);
  *   Given a socket descriptor, return the underlying socket structure.
  *
  * Input Parameters:
- *   sockfd - The socket descriptor index o use.
+ *   sockfd - The socket descriptor index to use.
  *
  * Returned Value:
  *   On success, a reference to the socket structure associated with the
diff --git a/net/socket/net_sockets.c b/net/socket/net_sockets.c
index 0e8b8a3..9f9d470 100644
--- a/net/socket/net_sockets.c
+++ b/net/socket/net_sockets.c
@@ -255,7 +255,7 @@ void sockfd_release(int sockfd)
  *   Given a socket descriptor, return the underlying socket structure.
  *
  * Input Parameters:
- *   sockfd - The socket descriptor index o use.
+ *   sockfd - The socket descriptor index to use.
  *
  * Returned Value:
  *   On success, a reference to the socket structure associated with the
diff --git a/net/socket/socket.h b/net/socket/socket.h
index 33e4bb9..4359c1c 100644
--- a/net/socket/socket.h
+++ b/net/socket/socket.h
@@ -211,7 +211,7 @@ void sockfd_release(int sockfd);
  *   Given a socket descriptor, return the underlying socket structure.
  *
  * Input Parameters:
- *   sockfd - The socket descriptor index o use.
+ *   sockfd - The socket descriptor index to use.
  *
  * Returned Value:
  *   On success, a reference to the socket structure associated with the