[vlc-devel] commit: Attach httpd hosts to the main httpd object. (Antoine Cellerier )

git version control git at videolan.org
Sat Feb 13 20:50:43 CET 2010


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sat Feb 13 20:51:55 2010 +0100| [e082d19ba57316d6b0cf94fe7811c0e115455819] | committer: Antoine Cellerier 

Attach httpd hosts to the main httpd object.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e082d19ba57316d6b0cf94fe7811c0e115455819
---

 src/network/httpd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/network/httpd.c b/src/network/httpd.c
index 39835a2..1fec831 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 )
     {




More information about the vlc-devel mailing list