]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: fix order of smb_fname flags and twrp args in call_trans2findfirst()
authorRalph Boehme <slow@samba.org>
Thu, 15 Oct 2020 17:49:24 +0000 (19:49 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 23 Oct 2020 07:56:32 +0000 (07:56 +0000)
Also not creating a BUG for this one as I've not seen any reports from the field
that this is causing issues.

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

index f9300efee9a333ad2ba0ae0f65cf3395b9054b5b..dcf50375d2c674d69bfe65701309298c62721a4d 100644 (file)
@@ -2881,8 +2881,8 @@ close_if_end = %d requires_resume_key = %d backup_priv = %d level = 0x%x, max_da
                                                ".",
                                                NULL,
                                                &old_name->st,
-                                               old_name->flags,
-                                               old_name->twrp);
+                                               old_name->twrp,
+                                               old_name->flags);
                TALLOC_FREE(old_name);
                if (smb_dname == NULL) {
                        reply_nterror(req, NT_STATUS_NO_MEMORY);