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
e9cbd35b
Commit
e9cbd35b
authored
Jan 14, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
httpd: fix error handling path
parent
e454bb83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
src/network/httpd.c
src/network/httpd.c
+6
-9
No files found.
src/network/httpd.c
View file @
e9cbd35b
...
@@ -1073,15 +1073,6 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
...
@@ -1073,15 +1073,6 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
if
(
host
==
NULL
)
if
(
host
==
NULL
)
goto
error
;
goto
error
;
vlc_object_lock
(
host
);
if
(
vlc_object_waitpipe
(
VLC_OBJECT
(
host
)
)
==
-
1
)
{
msg_Err
(
host
,
"signaling pipe error: %m"
);
vlc_object_unlock
(
host
);
goto
error
;
}
vlc_object_unlock
(
host
);
host
->
httpd
=
httpd
;
host
->
httpd
=
httpd
;
vlc_mutex_init
(
&
host
->
lock
);
vlc_mutex_init
(
&
host
->
lock
);
host
->
i_ref
=
1
;
host
->
i_ref
=
1
;
...
@@ -1094,6 +1085,12 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
...
@@ -1094,6 +1085,12 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
}
}
for
(
host
->
nfd
=
0
;
host
->
fds
[
host
->
nfd
]
!=
-
1
;
host
->
nfd
++
);
for
(
host
->
nfd
=
0
;
host
->
fds
[
host
->
nfd
]
!=
-
1
;
host
->
nfd
++
);
if
(
vlc_object_waitpipe
(
VLC_OBJECT
(
host
)
)
==
-
1
)
{
msg_Err
(
host
,
"signaling pipe error: %m"
);
goto
error
;
}
host
->
i_port
=
i_port
;
host
->
i_port
=
i_port
;
host
->
psz_hostname
=
psz_host
;
host
->
psz_hostname
=
psz_host
;
...
...
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