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

Forgot this file - default to allowing every body when there is no .hosts

parent 317cd9b8
...@@ -585,8 +585,11 @@ static int ParseDirectory( intf_thread_t *p_intf, char *psz_root, ...@@ -585,8 +585,11 @@ static int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
sprintf( dir, "%s/.hosts", psz_dir ); sprintf( dir, "%s/.hosts", psz_dir );
p_acl = ACL_Create( p_intf, VLC_FALSE ); p_acl = ACL_Create( p_intf, VLC_FALSE );
ACL_LoadFile( p_acl, dir ); if( ACL_LoadFile( p_acl, dir ) )
{
ACL_Destroy( p_acl );
p_acl = NULL;
}
for( ;; ) for( ;; )
{ {
......
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