summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-10 20:03:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:39 -0500
commit399533dc6465e9010e3d6ef06e54e138513f12c5 (patch)
tree7a3cc379615efb90f5df86085c53d5984175bb3c /source4/pidl/lib/Parse/Pidl
parentd617556ef50863d6a03c81a04f0f6b05848a250e (diff)
downloadsamba-399533dc6465e9010e3d6ef06e54e138513f12c5.tar.gz
samba-399533dc6465e9010e3d6ef06e54e138513f12c5.tar.bz2
samba-399533dc6465e9010e3d6ef06e54e138513f12c5.zip
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)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba3/Server.pm3
1 files changed, 3 insertions, 0 deletions
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 "";