Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
803a215c
Commit
803a215c
authored
Jul 04, 2011
by
Michal 'vorner' Vaner
Browse files
[trac1069] Remove experiment relict
parent
18dcf1d0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/acl/tests/sockaddr.h
View file @
803a215c
...
@@ -37,8 +37,7 @@ inline const struct sockaddr&
...
@@ -37,8 +37,7 @@ inline const struct sockaddr&
getSockAddr
(
const
char
*
const
addr
)
{
getSockAddr
(
const
char
*
const
addr
)
{
struct
addrinfo
hints
,
*
res
;
struct
addrinfo
hints
,
*
res
;
memset
(
&
hints
,
0
,
sizeof
(
hints
));
memset
(
&
hints
,
0
,
sizeof
(
hints
));
//hints.ai_family = AF_UNSPEC;
hints
.
ai_family
=
AF_UNSPEC
;
hints
.
ai_family
=
AF_INET
;
hints
.
ai_socktype
=
SOCK_STREAM
;
hints
.
ai_socktype
=
SOCK_STREAM
;
hints
.
ai_flags
=
AI_NUMERICHOST
;
hints
.
ai_flags
=
AI_NUMERICHOST
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment