From b5b943dbada86c839e6c575aed6842acd13e5446 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 5 Jun 2012 09:37:39 +0200 Subject: s3:smbd: make use of change_notify_fsp_has_changes() metze --- source3/smbd/smb2_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/smb2_notify.c') diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c index 3f5365c154..c0315b2948 100644 --- a/source3/smbd/smb2_notify.c +++ b/source3/smbd/smb2_notify.c @@ -270,7 +270,7 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx, } } - if (fsp->notify->num_changes != 0) { + if (change_notify_fsp_has_changes(fsp)) { /* * We've got changes pending, respond immediately -- cgit