summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-10 20:03:34 +0000
committerJeremy Allison <jra@samba.org>2005-10-10 20:03:34 +0000
commitc15804a278577d18f20e9838660f426948140e10 (patch)
treeab54b77665530983b6c0ccda3b52bd61f96bcec2
parent03dd1d3907df687807b7a30f58c04729a1c272de (diff)
downloadsamba-c15804a278577d18f20e9838660f426948140e10.tar.gz
samba-c15804a278577d18f20e9838660f426948140e10.tar.xz
samba-c15804a278577d18f20e9838660f426948140e10.zip
r10879: Added the ZERO_STRUCT(q_u), (r_u) entries to the generated
Samba3 code. Jelmer please check ! Jeremy.
-rw-r--r--source/pidl/lib/Parse/Pidl/Samba3/Server.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/pidl/lib/Parse/Pidl/Samba3/Server.pm b/source/pidl/lib/Parse/Pidl/Samba3/Server.pm
index 3f1f4645a1e..b4eb6329eb2 100644
--- a/source/pidl/lib/Parse/Pidl/Samba3/Server.pm
+++ b/source/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 "";