Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9b31c065
Commit
9b31c065
authored
Mar 12, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed stupid bug (C) me, yesterday (variable name conflict)
parent
ea0a6060
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/misc/httpd.c
src/misc/httpd.c
+4
-4
No files found.
src/misc/httpd.c
View file @
9b31c065
...
...
@@ -931,7 +931,7 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, char *psz_host,
vlc_value_t
val
;
char
psz_port
[
6
];
struct
addrinfo
hints
;
int
res
;
int
check
;
memset
(
&
hints
,
0
,
sizeof
(
hints
)
);
...
...
@@ -955,12 +955,12 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, char *psz_host,
snprintf
(
psz_port
,
sizeof
(
psz_port
),
"%d"
,
i_port
);
psz_port
[
sizeof
(
psz_port
)
-
1
]
=
'\0'
;
res
=
getaddrinfo
(
psz_host
,
psz_port
,
&
hints
,
&
res
);
if
(
res
!=
0
)
check
=
getaddrinfo
(
psz_host
,
psz_port
,
&
hints
,
&
res
);
if
(
check
!=
0
)
{
#ifdef HAVE_GAI_STRERROR
msg_Err
(
p_this
,
"cannot resolve %s:%d : %s"
,
psz_host
,
i_port
,
gai_strerror
(
res
)
);
gai_strerror
(
check
)
);
#else
msg_Err
(
p_this
,
"cannot resolve %s:%d"
,
psz_host
,
i_port
);
#endif
...
...
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