diff options
author | Günther Deschner <gd@samba.org> | 2010-04-09 18:33:25 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-09 18:33:45 +0200 |
commit | 202d330be6f6fe249b0ec241342762a533320d1b (patch) | |
tree | 6a9974076286fdf01fdc0381199a63d383e85678 /librpc/gen_ndr/srv_winreg.c | |
parent | 1cec3029e5ed5b6be3e7817c05d5f7214dfb4181 (diff) | |
download | samba-202d330be6f6fe249b0ec241342762a533320d1b.tar.gz samba-202d330be6f6fe249b0ec241342762a533320d1b.tar.bz2 samba-202d330be6f6fe249b0ec241342762a533320d1b.zip |
s3: re-run make samba3-idl.
Guenther
Diffstat (limited to 'librpc/gen_ndr/srv_winreg.c')
-rw-r--r-- | librpc/gen_ndr/srv_winreg.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/librpc/gen_ndr/srv_winreg.c b/librpc/gen_ndr/srv_winreg.c index b5b4adcd88..ce266c7681 100644 --- a/librpc/gen_ndr/srv_winreg.c +++ b/librpc/gen_ndr/srv_winreg.c @@ -2684,6 +2684,15 @@ static bool api_winreg_QueryMultipleValues2(pipes_struct *p) NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues2, r); } + ZERO_STRUCT(r->out); + r->out.values = r->in.values; + r->out.buffer = r->in.buffer; + r->out.needed = talloc_zero(r, uint32_t); + if (r->out.needed == NULL) { + talloc_free(r); + return false; + } + r->out.result = _winreg_QueryMultipleValues2(p, r); if (p->rng_fault_state) { @@ -3192,6 +3201,14 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c case NDR_WINREG_QUERYMULTIPLEVALUES2: { struct winreg_QueryMultipleValues2 *r = (struct winreg_QueryMultipleValues2 *)_r; + ZERO_STRUCT(r->out); + r->out.values = r->in.values; + r->out.buffer = r->in.buffer; + r->out.needed = talloc_zero(mem_ctx, uint32_t); + if (r->out.needed == NULL) { + return NT_STATUS_NO_MEMORY; + } + r->out.result = _winreg_QueryMultipleValues2(cli->pipes_struct, r); return NT_STATUS_OK; } |