From 82484461e3f8f9bba351bbb5f5178c6f17dd049d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 21 May 2010 17:12:40 -0700 Subject: [PATCH] Don't forget brackets around bitwise tests. Jeremy. --- source3/smbd/smb2_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index b4b265b9f5e..ed702717f3a 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)) { -- 2.34.1