From 399533dc6465e9010e3d6ef06e54e138513f12c5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 10 Oct 2005 20:03:34 +0000 Subject: r10879: Added the ZERO_STRUCT(q_u), (r_u) entries to the generated Samba3 code. Jelmer please check ! Jeremy. (This used to be commit 534e8d16228ad4f1306ddf21ea9c9b988d736525) --- source4/pidl/lib/Parse/Pidl/Samba3/Server.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/pidl') diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/Server.pm b/source4/pidl/lib/Parse/Pidl/Samba3/Server.pm index 3f1f4645a1..b4eb6329eb 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/Server.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba3/Server.pm @@ -36,6 +36,9 @@ sub ParseFunction($$) pidl "prs_struct *data = &p->in_data.data;"; pidl "prs_struct *rdata = &p->out_data.rdata;"; pidl ""; + pidl "ZERO_STRUCT(q_u);" + pidl "ZERO_STRUCT(r_u);" + pidl ""; pidl "if (!$if->{NAME}_io_q_$fn->{NAME}(\"\", &q_u, data, 0))"; pidl "\treturn False;"; pidl ""; -- cgit