From e082d19ba57316d6b0cf94fe7811c0e115455819 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Sat, 13 Feb 2010 20:51:55 +0100 Subject: [PATCH] Attach httpd hosts to the main httpd object. --- src/network/httpd.c | 2 ++ 1 file changed, 2 insertions(+) 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 ) { -- 2.39.5