From 1c8ddae655870506c00947704d77a8f5c86e22d0 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 28 Jan 2015 17:51:59 -0600 Subject: [PATCH] Fix a typo in comments --- net/socket/recvfrom.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/socket/recvfrom.c b/net/socket/recvfrom.c index f2ee27b389..e9fcd7a83a 100644 --- a/net/socket/recvfrom.c +++ b/net/socket/recvfrom.c @@ -1268,7 +1268,7 @@ errout_with_state: * from INET address of source (may be NULL) * * Returned Value: - * On success, returns the number of characters sent. On error, + * On success, returns the number of characters received. On error, * -errno is returned (see recvfrom for list of errnos). * * Assumptions: @@ -1355,7 +1355,7 @@ errout_with_state: * from INET address of source (may be NULL) * * Returned Value: - * On success, returns the number of characters sent. On error, + * On success, returns the number of characters received. On error, * -errno is returned (see recvfrom for list of errnos). * * Assumptions: @@ -1547,7 +1547,7 @@ static ssize_t tcp_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len, * fromlen The length of the address structure * * Returned Value: - * On success, returns the number of characters sent. If no data is + * On success, returns the number of characters received. If no data is * available to be received and the peer has performed an orderly shutdown, * recv() will return 0. Otherwise, on errors, -1 is returned, and errno * is set appropriately: @@ -1771,7 +1771,7 @@ errout: * fromlen The length of the address structure * * Returned Value: - * On success, returns the number of characters sent. On error, + * On success, returns the number of characters received. On error, * -1 is returned, and errno is set appropriately: * * EAGAIN