s3: smbd: Reformat users of check_parent_access().
authorJeremy Allison <jra@samba.org>
Fri, 1 May 2020 01:16:51 +0000 (18:16 -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 b3a8187ebc2726e8e6fca68730c952b6ebe81c7d..c2a14da44743c978733dcc1e49c655be42a86cb9 100644 (file)
@@ -1255,8 +1255,8 @@ static NTSTATUS open_file(files_struct *fsp,
                                }
 
                                status = check_parent_access(conn,
-                                                            smb_fname,
-                                                            SEC_DIR_ADD_FILE);
+                                                       smb_fname,
+                                                       SEC_DIR_ADD_FILE);
                                if (!NT_STATUS_IS_OK(status)) {
                                        DEBUG(10, ("open_file: "
                                                   "check_parent_access on "