summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-05-05 08:34:11 +0000
committerJeremy Allison <jra@samba.org>2015-05-06 04:14:14 +0200
commitf9056de9bf5548507579a22778cc25aaba51d3f9 (patch)
tree4ee0836c3ee68d93fc35111db99a6be5ddf3f8b8 /source3
parent729475425bfd4df9185638036186b016cd2d080c (diff)
downloadsamba-f9056de9bf5548507579a22778cc25aaba51d3f9.tar.gz
lib: Fix indentation
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/sysacls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index 945ccdcf82b..7cff488ba2c 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -104,14 +104,14 @@ void *sys_acl_get_qualifier(SMB_ACL_ENTRY_T entry_d)
{
if (entry_d->a_type == SMB_ACL_USER) {
return &entry_d->info.user.uid;
- }
+ }
if (entry_d->a_type == SMB_ACL_GROUP) {
return &entry_d->info.group.gid;
}
errno = EINVAL;
- return NULL;
+ return NULL;
}
int sys_acl_clear_perms(SMB_ACL_PERMSET_T permset_d)
@@ -127,7 +127,7 @@ int sys_acl_add_perm(SMB_ACL_PERMSET_T permset_d, SMB_ACL_PERM_T perm)
&& perm != SMB_ACL_EXECUTE) {
errno = EINVAL;
return -1;
- }
+ }
if (permset_d == NULL) {
errno = EINVAL;
@@ -319,7 +319,7 @@ int sys_acl_set_qualifier(SMB_ACL_ENTRY_T entry_d, void *qual_p)
if (entry_d->a_type == SMB_ACL_USER) {
entry_d->info.user.uid = *((uid_t *)qual_p);
return 0;
- }
+ }
if (entry_d->a_type == SMB_ACL_GROUP) {
entry_d->info.group.gid = *((gid_t *)qual_p);
return 0;