]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: realign args calling synthetic_smb_fname() in change_dir_owner_to_parent()
authorRalph Boehme <slow@samba.org>
Thu, 30 Apr 2020 10:01:44 +0000 (12:01 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:38 +0000 (19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c

index 5f612533267fad5f74c1e0f2a29491ad78668ade..68384ce440d51207e31e2688fef01e59aa4762b7 100644 (file)
@@ -944,7 +944,11 @@ static NTSTATUS change_dir_owner_to_parent(connection_struct *conn,
                goto chdir;
        }
 
-       smb_fname_cwd = synthetic_smb_fname(ctx, ".", NULL, NULL, 0);
+       smb_fname_cwd = synthetic_smb_fname(ctx,
+                                           ".",
+                                           NULL,
+                                           NULL,
+                                           0);
        if (smb_fname_cwd == NULL) {
                status = NT_STATUS_NO_MEMORY;
                goto chdir;