]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: realign synthetic_smb_fname() args in file_new()
authorRalph Boehme <slow@samba.org>
Sun, 3 May 2020 13:07:45 +0000 (15:07 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:39 +0000 (19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/files.c

index e5bb3d2c268e72e94138f7890e0fb42fa7fe3641..fc84385c113548fe3172d8d369c91f3ab753f6e2 100644 (file)
@@ -140,7 +140,11 @@ NTSTATUS file_new(struct smb_request *req, connection_struct *conn,
         * few NULL checks, so make sure it's initialized with something. to
         * be safe until an audit can be done.
         */
-       fsp->fsp_name = synthetic_smb_fname(fsp, "", NULL, NULL, 0);
+       fsp->fsp_name = synthetic_smb_fname(fsp,
+                                           "",
+                                           NULL,
+                                           NULL,
+                                           0);
        if (fsp->fsp_name == NULL) {
                file_free(NULL, fsp);
                return NT_STATUS_NO_MEMORY;