STEP01x: pidl: put braces around generated dcerpc_call_entry_point_vector table and...
authorGünther Deschner <gd@samba.org>
Wed, 22 Jul 2015 16:24:32 +0000 (18:24 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:58:04 +0000 (12:58 +0200)
Guenther

Pair-Programmed-With: Jose A. Rivera <jarrpa@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
pidl/lib/Parse/Pidl/Samba3/CompatServer.pm

index 48419967d621e785e417489b822e4cddbebb7b68..f882e4dda7eb2d19dab35ed194f05d8b36a9d295 100644 (file)
@@ -183,10 +183,12 @@ sub ParseInterface($)
 
        pidl "static const struct dcerpc_call_entry_point_vector _s3_compat_$if->{NAME}_epv[] = {";
        indent;
+       pidl "{";
        pidl ".name = \"_s3_compat_$if->{NAME}\",";
        pidl ".table = &ndr_table_$if->{NAME},";
        pidl ".num_fns = $count,";
        pidl ".fns = _s3_compat_$if->{NAME}_fns,";
+       pidl "},";
        deindent;
        pidl "};";
        pidl "";
@@ -218,6 +220,7 @@ sub Parse($$$)
        pidl "#include \"includes.h\"";
        pidl "#include \"ntdomain.h\"";
        pidl "#include \"lib/util/tevent_ntstatus.h\"";
+       pidl "#include \"librpc/rpc/dcerpc_connection.h\"";
        pidl "#include \"$header\"";
        pidl_hdr "#include \"$ndr_header\"";
        pidl "";