dbwrap_watch: Fix cleaning up dead watchers
authorVolker Lendecke <vl@samba.org>
Tue, 15 Oct 2019 08:56:54 +0000 (10:56 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 18 Oct 2019 22:28:07 +0000 (22:28 +0000)
commit0afd655e80262ea8505a2e6d0dd9cc453fbdfd8c
tree041155c74531e571e9683d9d8c0814c940d739bf
parent75433f60522b935adb8c14fc6d0caa14c85281b3
dbwrap_watch: Fix cleaning up dead watchers

"wrec->num_watchers" changes in dbwrap_watch_rec_del_watcher(). In
32d6cc84c I forgot to update the copy of that variable.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct 18 22:28:07 UTC 2019 on sn-devel-184
selftest/knownfail
source3/lib/dbwrap/dbwrap_watch.c