summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-03-02 21:34:32 -0800
committerChristian Ambach <ambi@samba.org>2012-03-02 21:47:10 -0800
commita1ac670a8c69fff47bf120acdee4820081b54bc3 (patch)
treedb2dfad46832c3c0c7d3bd98d7120710672131f5 /source3/smbd
parent583a53835b1709327c96f47466ca3db39a0b3d50 (diff)
downloadsamba-a1ac670a8c69fff47bf120acdee4820081b54bc3.tar.gz
samba-a1ac670a8c69fff47bf120acdee4820081b54bc3.tar.bz2
samba-a1ac670a8c69fff47bf120acdee4820081b54bc3.zip
s3:smb2_server: use SMB2_WATCH_TREE
it makes the code easier to understand if it uses the names specified in MS-SMB2 instead of just the underlying values
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c
index 49051bfe62..be56b18799 100644
--- a/source3/smbd/smb2_notify.c
+++ b/source3/smbd/smb2_notify.c
@@ -192,7 +192,7 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx,
struct smb_request *smbreq;
connection_struct *conn = smb2req->tcon->compat_conn;
files_struct *fsp;
- bool recursive = (in_flags & 0x0001) ? true : false;
+ bool recursive = (in_flags & SMB2_WATCH_TREE) ? true : false;
NTSTATUS status;
req = tevent_req_create(mem_ctx, &state,