r24314: Attempt to fix bug 4868
authorVolker Lendecke <vlendec@samba.org>
Fri, 10 Aug 2007 14:01:14 +0000 (14:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:29:27 +0000 (12:29 -0500)
source/smbd/notify.c

index d003cfa88fcfb023295f1781cf427a901a1d7050..6c77f4c270b52f211a6d38918fb3d933bce2973f 100644 (file)
@@ -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;
        }