summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_create.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-05-21 17:12:40 -0700
committerJeremy Allison <jra@samba.org>2010-05-21 17:12:40 -0700
commit82484461e3f8f9bba351bbb5f5178c6f17dd049d (patch)
treecb54f3ecb325e0dd33aa0ef0894c98126e5f167f /source3/smbd/smb2_create.c
parentb2a7ad8c951562d1aea6663064784da0b0a98565 (diff)
downloadsamba-82484461e3f8f9bba351bbb5f5178c6f17dd049d.tar.gz
samba-82484461e3f8f9bba351bbb5f5178c6f17dd049d.tar.bz2
samba-82484461e3f8f9bba351bbb5f5178c6f17dd049d.zip
Don't forget brackets around bitwise tests.
Jeremy.
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r--source3/smbd/smb2_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index b4b265b9f5..ed702717f3 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -678,7 +678,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
* will do the path processing.
*/
- if (!smb1req->flags2 & FLAGS2_DFS_PATHNAMES) {
+ if (!(smb1req->flags2 & FLAGS2_DFS_PATHNAMES)) {
/* convert '\\' into '/' */
status = check_path_syntax(fname);
if (!NT_STATUS_IS_OK(status)) {