]> git.ipfire.org Git - thirdparty/samba.git/commit
dbwrap_watch: Move reallocating watchers to dbwrap_watched_watch_send()
authorVolker Lendecke <vl@samba.org>
Mon, 30 Sep 2019 09:25:59 +0000 (11:25 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 2 Oct 2019 08:01:41 +0000 (08:01 +0000)
commit491b71f29b966d1fed65d5db1463353a19306db8
tree13ecf67d4a29d7d049c8cb9c2c3b57f7f9a39b78
parent88f8edf69ba04b4df28d4986199fa13730d3a165
dbwrap_watch: Move reallocating watchers to dbwrap_watched_watch_send()

Before 15a8af075a2 we did not have a separately allocated watchers
array and dbwrap_watched_save() could play (too) smart tricks with
dbwrap_record_storev(). Now that we always have watchers talloc'ed, we
can remove those smart tricks from dbwrap_watched_save() in the next
commit.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/dbwrap/dbwrap_watch.c