Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
72701d75
Commit
72701d75
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Remove some whitespace at the end of lines
parent
1b1e34e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libc/net/lib_gethostbyname.c
+1
-1
1 addition, 1 deletion
libc/net/lib_gethostbyname.c
libc/net/lib_gethostbynamer.c
+2
-2
2 additions, 2 deletions
libc/net/lib_gethostbynamer.c
libc/net/lib_parsehostfile.c
+1
-1
1 addition, 1 deletion
libc/net/lib_parsehostfile.c
with
4 additions
and
4 deletions
libc/net/lib_gethostbyname.c
+
1
−
1
View file @
72701d75
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
libc/net/lib_gethostbynamer.c
+
2
−
2
View file @
72701d75
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
libc/net/lib_parsehostfile.c
+
1
−
1
View file @
72701d75
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment