diff options
author | Michael Adam <obnox@samba.org> | 2009-12-06 23:30:23 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-07 00:22:46 +0100 |
commit | 8cb182e1b873fde40db6e4258ee23b05f956f397 (patch) | |
tree | e233d504ea8d6dbb06c5e218aa9ffa0b3d652f80 /src/conf.c | |
parent | 6266197e9257df1501b1962ad0a3e3ba757092f3 (diff) |
Add access_list to the config struct instead of a global variable in acl.c.
Change insert_acl, check_acl and flush_access_list to take a corresponding
argument.
Michael
Diffstat (limited to 'src/conf.c')
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -618,7 +618,7 @@ static HANDLE_FUNC (handle_allow) { char *arg = get_string_arg (line, &match[2]); - insert_acl (arg, ACL_ALLOW); + insert_acl (arg, ACL_ALLOW, &conf->access_list); safefree (arg); return 0; } @@ -627,7 +627,7 @@ static HANDLE_FUNC (handle_deny) { char *arg = get_string_arg (line, &match[2]); - insert_acl (arg, ACL_DENY); + insert_acl (arg, ACL_DENY, &conf->access_list); safefree (arg); return 0; } |