From a1ac670a8c69fff47bf120acdee4820081b54bc3 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Fri, 2 Mar 2012 21:34:32 -0800 Subject: 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 --- source3/smbd/smb2_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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, -- cgit