Commit a18ca585 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Cosmetics

parent e22a6dbd
...@@ -1164,7 +1164,7 @@ void httpd_HostDelete( httpd_host_t *host ) ...@@ -1164,7 +1164,7 @@ void httpd_HostDelete( httpd_host_t *host )
{ {
/* still used */ /* still used */
vlc_mutex_unlock( &httpd_mutex ); vlc_mutex_unlock( &httpd_mutex );
msg_Dbg( host, "httpd_HostDelete: host still used" ); msg_Dbg( host, "httpd_HostDelete: host still in use" );
return; return;
} }
TAB_REMOVE( httpd->i_host, httpd->host, host ); TAB_REMOVE( httpd->i_host, httpd->host, host );
...@@ -1202,12 +1202,11 @@ void httpd_HostDelete( httpd_host_t *host ) ...@@ -1202,12 +1202,11 @@ void httpd_HostDelete( httpd_host_t *host )
vlc_object_release( httpd ); vlc_object_release( httpd );
if( httpd->i_host <= 0 ) if( httpd->i_host <= 0 )
{ {
msg_Dbg( httpd, "no host left, stopping httpd" ); msg_Dbg( httpd, "no hosts left, stopping httpd" );
libvlc_priv (httpd->p_libvlc)->p_httpd = NULL; libvlc_priv (httpd->p_libvlc)->p_httpd = NULL;
vlc_object_detach( httpd ); vlc_object_detach( httpd );
vlc_object_release( httpd ); vlc_object_release( httpd );
} }
vlc_mutex_unlock( &httpd_mutex ); vlc_mutex_unlock( &httpd_mutex );
} }
......
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