From b9cd893411657adbe871bc5768f5de6bb4e5b556 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Sun, 7 Aug 2016 17:56:51 +1000 Subject: [PATCH] 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 (cherry picked from commit afa41f023b4c3af067e401e53d2e89a8d568814a) --- source3/lib/dbwrap/dbwrap_watch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index 6d3abe0..acc0f1a 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; -- 2.1.4