1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

posix_acls: Do a *bit* of reformatting

Makes the next commit a bit more obvious to me

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2017-02-09 18:45:40 +01:00 committed by Jeremy Allison
parent b12562fac0
commit 2dc369feac

View File

@ -3359,8 +3359,11 @@ static NTSTATUS posix_get_nt_acl_common(struct connection_struct *conn,
num_acls = count_canon_ace_list(file_ace);
num_def_acls = count_canon_ace_list(dir_ace);
/* Allocate the ace list. */
if ((nt_ace_list = talloc_array(talloc_tos(), struct security_ace,num_acls + num_profile_acls + num_def_acls)) == NULL) {
nt_ace_list = talloc_array(
talloc_tos(), struct security_ace,
num_acls + num_profile_acls + num_def_acls);
if (nt_ace_list == NULL) {
DEBUG(0,("get_nt_acl: Unable to malloc space for nt_ace_list.\n"));
goto done;
}