Commit e082d19b authored by Antoine Cellerier's avatar Antoine Cellerier

Attach httpd hosts to the main httpd object.

parent 6421559c
...@@ -1079,6 +1079,8 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname, ...@@ -1079,6 +1079,8 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
vlc_cond_init( &host->wait ); vlc_cond_init( &host->wait );
host->i_ref = 1; host->i_ref = 1;
vlc_object_attach( host, p_this );
host->fds = net_ListenTCP( p_this, psz_host, i_port ); host->fds = net_ListenTCP( p_this, psz_host, i_port );
if( host->fds == NULL ) if( host->fds == NULL )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment