s3: smbd: Reformat users of smbd_calculate_maximum_allowed_access().
authorJeremy Allison <jra@samba.org>
Fri, 1 May 2020 17:15:14 +0000 (10:15 -0700)
committerRalph Boehme <slow@samba.org>
Mon, 4 May 2020 13:55:34 +0000 (13:55 +0000)
Make new parameter addition clearer.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/open.c

index c842bb3fff497d5ad5cfc87c866e5ec4c8663654..e24a8614c83bfda189b848d4703f4524802da5df 100644 (file)
@@ -3130,8 +3130,10 @@ NTSTATUS smbd_calculate_access_mask(connection_struct *conn,
        /* Calculate MAXIMUM_ALLOWED_ACCESS if requested. */
        if (access_mask & MAXIMUM_ALLOWED_ACCESS) {
 
-               status = smbd_calculate_maximum_allowed_access(
-                       conn, smb_fname, use_privs, &access_mask);
+               status = smbd_calculate_maximum_allowed_access(conn,
+                                       smb_fname,
+                                       use_privs,
+                                       &access_mask);
 
                if (!NT_STATUS_IS_OK(status)) {
                        return status;