1
0
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:
Volker Lendecke 2022-02-11 15:59:06 +01:00 committed by Jeremy Allison
parent 1ef6800ef6
commit 6e77185f92

View File

@ -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;