Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSH
lsh
Commits
2ed4680e
Commit
2ed4680e
authored
Jan 1, 1999
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
Fixed call to inet_aton.
Rev: src/io.c:1.39
parent
67e412bc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/io.c
+1
-1
1 addition, 1 deletion
src/io.c
with
1 addition
and
1 deletion
src/io.c
+
1
−
1
View file @
2ed4680e
...
@@ -481,7 +481,7 @@ get_inaddr(struct sockaddr_in * addr,
...
@@ -481,7 +481,7 @@ get_inaddr(struct sockaddr_in * addr,
/* First check for numerical ip-number */
/* First check for numerical ip-number */
#if 1
#if 1
/* FIXME: How portable is inet_aton? */
/* FIXME: How portable is inet_aton? */
if
(
!
inet_aton
(
host
,
addr
))
if
(
!
inet_aton
(
host
,
&
addr
->
sin_
addr
))
#else
#else
/* TODO: It is wrong to work with ((unsigned long int) -1)
/* TODO: It is wrong to work with ((unsigned long int) -1)
* directly, as this breaks Linux/Alpha systems. But
* directly, as this breaks Linux/Alpha systems. But
...
...
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