summaryrefslogtreecommitdiff
path: root/libcli/security
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2011-01-13 15:22:15 +0200
committerNadezhda Ivanova <nivanova@samba.org>2011-01-13 15:53:16 +0100
commit961f503f0dd7a03696460b482da4fa7e08daa78d (patch)
tree5a090a6f0f47b9f2e4ff3243f6b1f6c99df00090 /libcli/security
parenta556896d1e2c79c39e95f0903fb365fe3a308a2c (diff)
downloadsamba-961f503f0dd7a03696460b482da4fa7e08daa78d.tar.gz
samba-961f503f0dd7a03696460b482da4fa7e08daa78d.tar.bz2
samba-961f503f0dd7a03696460b482da4fa7e08daa78d.zip
security: Fixed incorrect indentation in create_descriptor.c
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Jan 13 15:53:16 CET 2011 on sn-devel-104
Diffstat (limited to 'libcli/security')
-rw-r--r--libcli/security/create_descriptor.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libcli/security/create_descriptor.c b/libcli/security/create_descriptor.c
index 2228e48783..e5fa9b8cb5 100644
--- a/libcli/security/create_descriptor.c
+++ b/libcli/security/create_descriptor.c
@@ -253,18 +253,18 @@ static struct security_acl *process_user_acl(TALLOC_CTX *mem_ctx,
owner,
group);
} else {
- /*The original ACE becomes read only */
- tmp_acl->aces[tmp_acl->num_aces-1].flags |= SEC_ACE_FLAG_INHERIT_ONLY;
- tmp_acl->aces = talloc_realloc(tmp_acl, tmp_acl->aces,
- struct security_ace,
- tmp_acl->num_aces+1);
- /* add a new ACE with expanded generic info */
- tmp_acl->aces[tmp_acl->num_aces] = *ace;
- desc_expand_generic(tmp_ctx,
- &tmp_acl->aces[tmp_acl->num_aces],
- owner,
- group);
- tmp_acl->num_aces++;
+ /*The original ACE becomes read only */
+ tmp_acl->aces[tmp_acl->num_aces-1].flags |= SEC_ACE_FLAG_INHERIT_ONLY;
+ tmp_acl->aces = talloc_realloc(tmp_acl, tmp_acl->aces,
+ struct security_ace,
+ tmp_acl->num_aces+1);
+ /* add a new ACE with expanded generic info */
+ tmp_acl->aces[tmp_acl->num_aces] = *ace;
+ desc_expand_generic(tmp_ctx,
+ &tmp_acl->aces[tmp_acl->num_aces],
+ owner,
+ group);
+ tmp_acl->num_aces++;
}
}
}