From: Amitay Isaacs Date: Sun, 7 Aug 2016 07:56:51 +0000 (+1000) Subject: dbwrap: Fix structure initialization X-Git-Tag: tevent-0.9.30~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afa41f023b4c3af067e401e53d2e89a8d568814a;p=thirdparty%2Fsamba.git dbwrap: Fix structure initialization Bug: https://bugzilla.samba.org/show_bug.cgi?id=12134 Signed-off-by: Amitay Isaacs Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Tue Aug 9 15:15:43 CEST 2016 on sn-devel-144 --- diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index 6d3abe0a372..acc0f1a5e68 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -534,7 +534,8 @@ static NTSTATUS dbwrap_watched_parse_record( struct db_watched_ctx *ctx = talloc_get_type_abort( db->private_data, struct db_watched_ctx); struct dbwrap_watched_parse_record_state state = { - .parser = parser, private_data = private_data, + .parser = parser, + .private_data = private_data, .deleted = false }; NTSTATUS status;