mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3: smbd: In SMB1 reply_copy(), make req->posix_pathnames a helper variable.
I need to use it elsewhere in here. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
826ae5c806
commit
d0d8f32d8f
@ -8806,6 +8806,7 @@ void reply_copy(struct smb_request *req)
|
||||
ucf_flags_from_smb_request(req);
|
||||
uint32_t ucf_flags_dst = UCF_ALWAYS_ALLOW_WCARD_LCOMP |
|
||||
ucf_flags_from_smb_request(req);
|
||||
bool posix_pathnames = req->posix_pathnames;
|
||||
TALLOC_CTX *ctx = talloc_tos();
|
||||
|
||||
START_PROFILE(SMBcopy);
|
||||
@ -8899,7 +8900,7 @@ void reply_copy(struct smb_request *req)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!req->posix_pathnames) {
|
||||
if (!posix_pathnames) {
|
||||
char *orig_src_lcomp = NULL;
|
||||
char *orig_dst_lcomp = NULL;
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user