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
6d0a1fce
Commit
6d0a1fce
authored
Dec 03, 2011
by
Naohiro KORIYAMA
Committed by
Rémi Denis-Courmont
Dec 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inet_ntop always returns NULL on Windows.
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
7991356e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
compat/inet_pton.c
compat/inet_pton.c
+1
-1
No files found.
compat/inet_pton.c
View file @
6d0a1fce
...
...
@@ -55,7 +55,7 @@ const char *inet_ntop (int af, const void *src, char *dst, int len)
{
case
AF_INET
:
if
(
snprintf
(
dst
,
len
,
"%hhu.%hhu.%hhu.%hhu"
,
b
[
0
],
b
[
1
],
b
[
2
],
b
[
3
])
<
=
len
)
b
[
0
],
b
[
1
],
b
[
2
],
b
[
3
])
>
=
len
)
{
errno
=
ENOSPC
;
return
NULL
;
...
...
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