summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index d003cfa88f..6c77f4c270 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -160,6 +160,7 @@ void change_notify_reply(const char *request_buf, uint32 max_param,
if (notify_buf->num_changes == -1) {
change_notify_reply_packet(request_buf, NT_STATUS_OK);
+ notify_buf->num_changes = 0;
return;
}