]> git.sesse.net Git - vlc/commitdiff
Attach httpd hosts to the main httpd object.
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 13 Feb 2010 19:51:55 +0000 (20:51 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 13 Feb 2010 19:52:24 +0000 (20:52 +0100)
src/network/httpd.c

index 39835a20c3620a4e8f2bb7c6052b6a52adf8578d..1fec831e1e8b02fc8b696fbeaf5cb899eb96c57c 100644 (file)
@@ -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 )
     {