mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
smbd: Use fsp_is_alternate_stream(), we checked for fsp!=NULL above
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
1ef6800ef6
commit
6e77185f92
@ -5526,7 +5526,7 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
|
||||
}
|
||||
string_replace(nfname, '/', '\\');
|
||||
|
||||
if (smb_fname->stream_name != NULL) {
|
||||
if (fsp_is_alternate_stream(fsp)) {
|
||||
const char *s = smb_fname->stream_name;
|
||||
const char *e = NULL;
|
||||
size_t n;
|
||||
|
Loading…
x
Reference in New Issue
Block a user