Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f0d86d58
Commit
f0d86d58
authored
Apr 02, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning
parent
775b1169
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/network/acl.c
src/network/acl.c
+2
-1
No files found.
src/network/acl.c
View file @
f0d86d58
...
@@ -56,9 +56,10 @@ struct vlc_acl_t
...
@@ -56,9 +56,10 @@ struct vlc_acl_t
static
int
ACL_Resolve
(
vlc_object_t
*
p_this
,
uint8_t
*
p_bytes
,
static
int
ACL_Resolve
(
vlc_object_t
*
p_this
,
uint8_t
*
p_bytes
,
const
char
*
psz_ip
)
const
char
*
psz_ip
)
{
{
struct
addrinfo
hints
=
{
0
}
,
*
res
;
struct
addrinfo
hints
,
*
res
;
int
i_family
;
int
i_family
;
memset
(
&
hints
,
0
,
sizeof
(
hints
));
hints
.
ai_socktype
=
SOCK_STREAM
;
/* doesn't matter */
hints
.
ai_socktype
=
SOCK_STREAM
;
/* doesn't matter */
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