r10879: Added the ZERO_STRUCT(q_u), (r_u) entries to the generated
authorJeremy Allison <jra@samba.org>
Mon, 10 Oct 2005 20:03:34 +0000 (20:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:39:39 +0000 (13:39 -0500)
Samba3 code. Jelmer please check !
Jeremy.
(This used to be commit 534e8d16228ad4f1306ddf21ea9c9b988d736525)

source4/pidl/lib/Parse/Pidl/Samba3/Server.pm

index 3f1f4645a1ec4aa20d40729a1a7bfceed65d0387..b4eb6329eb2cdb6eae2890c3b7e3be4ffb1c2fd4 100644 (file)
@@ -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 "";