summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/filename_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename_util.c b/source3/smbd/filename_util.c
index 867709a373..8c099657c4 100644
--- a/source3/smbd/filename_util.c
+++ b/source3/smbd/filename_util.c
@@ -190,7 +190,7 @@ bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname)
return false;
}
- return smb_fname->stream_name;
+ return smb_fname->stream_name != NULL;
}
/****************************************************************************