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

index 65c50336f6f179ab915574a8a0c5ac00b7a9e2c5..fc0e513b56294bbf488c917d2bd23bc80296dce7 100644 (file)
@@ -2632,7 +2632,11 @@ NTSTATUS smbd_dirptr_lanman2_entry(TALLOC_CTX *ctx,
        if (_smb_fname != NULL) {
                struct smb_filename *name = NULL;
 
-               name = synthetic_smb_fname(ctx, fname, NULL, &smb_fname->st, 0);
+               name = synthetic_smb_fname(ctx,
+                                          fname,
+                                          NULL,
+                                          &smb_fname->st,
+                                          0);
                if (name == NULL) {
                        TALLOC_FREE(smb_fname);
                        TALLOC_FREE(fname);