mirror of
https://github.com/apache/nuttx.git
synced 2026-05-10 23:40:21 +08:00
Remove some whitespace at the end of lines
This commit is contained in:
@@ -81,7 +81,7 @@ static char g_hostbuffer[CONFIG_NETDB_BUFSIZE];
|
||||
*
|
||||
* Input Parameters:
|
||||
* name - The name of the host to find.
|
||||
*
|
||||
*
|
||||
* Returned Value:
|
||||
* Upon successful completion, this function will return a pointer to a
|
||||
* hostent structure if the requested entry was found, and a null pointer
|
||||
|
||||
@@ -140,7 +140,7 @@ static int lib_numeric_address(FAR const char *name, FAR struct hostent *host,
|
||||
{
|
||||
return -ERANGE;
|
||||
}
|
||||
|
||||
|
||||
ret = inet_pton(AF_INET6, name, ptr);
|
||||
if (ret < 0)
|
||||
{
|
||||
@@ -228,7 +228,7 @@ static int lib_numeric_address(FAR const char *name, FAR struct hostent *host,
|
||||
* host data.
|
||||
* buflen - The size of the caller-provided buffer
|
||||
* h_errnop - There h_errno value returned in the event of a failure.
|
||||
*
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero (OK) is returned on success, -1 (ERROR) is returned on a failure
|
||||
* with the returned h_errno value provided the reason for the failure.
|
||||
|
||||
@@ -319,7 +319,7 @@ ssize_t lib_parse_hostfile(FAR FILE *stream, FAR struct hostent *host,
|
||||
{
|
||||
return -ERANGE;
|
||||
}
|
||||
|
||||
|
||||
ret = inet_pton(AF_INET6, addrstring, ptr);
|
||||
if (ret < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user