summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-09-18 03:34:55 +0200
committerVolker Lendecke <vl@samba.org>2009-09-18 03:35:18 +0200
commiteeda7f64497fdf79d3ca1ccb6d34e6b0ad15991c (patch)
tree9bbef8015f2dbbf8e036711bfa6b4445d0c9a2cf
parent1637364c9e8e6fc8d426d8a37fcba2e466546faf (diff)
downloadsamba-eeda7f64497fdf79d3ca1ccb6d34e6b0ad15991c.tar.gz
samba-eeda7f64497fdf79d3ca1ccb6d34e6b0ad15991c.tar.bz2
samba-eeda7f64497fdf79d3ca1ccb6d34e6b0ad15991c.zip
s3:smbd: Fix an inappropriate pointer return in a bool fn
-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;
}
/****************************************************************************