]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we can use...
authorJeremy Allison <jra@samba.org>
Tue, 29 Sep 2020 18:10:19 +0000 (11:10 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 30 Sep 2020 20:46:39 +0000 (20:46 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/nttrans.c

index a178a6bad1f8cb56eedadc0dfaf373010adf0052..197ab75a3b477d1aea6dedf12b3fddafbc7be5ac 100644 (file)
@@ -1740,8 +1740,8 @@ void reply_ntrename(struct smb_request *req)
        }
 
        p++;
-       p += srvstr_get_path_req_wcard(ctx, req, &newname, p, STR_TERMINATE,
-                                      &status, &dest_has_wcard);
+       p += srvstr_get_path_req(ctx, req, &newname, p, STR_TERMINATE,
+                                      &status);
        if (!NT_STATUS_IS_OK(status)) {
                reply_nterror(req, status);
                goto out;