Skip to content
Snippets Groups Projects
Commit 72701d75 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Remove some whitespace at the end of lines

parent 1b1e34e1
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment