From: Antoine Cellerier Date: Sat, 13 Feb 2010 19:51:55 +0000 (+0100) Subject: Attach httpd hosts to the main httpd object. X-Git-Tag: 1.1.0-ff~95 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e082d19ba57316d6b0cf94fe7811c0e115455819;p=vlc Attach httpd hosts to the main httpd object. --- diff --git a/src/network/httpd.c b/src/network/httpd.c index 39835a20c3..1fec831e1e 100644 --- a/src/network/httpd.c +++ b/src/network/httpd.c @@ -1079,6 +1079,8 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname, vlc_cond_init( &host->wait ); host->i_ref = 1; + vlc_object_attach( host, p_this ); + host->fds = net_ListenTCP( p_this, psz_host, i_port ); if( host->fds == NULL ) {