diff options
author | Günther Deschner <gd@samba.org> | 2008-03-26 11:35:44 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-03-26 12:17:17 +0100 |
commit | 300cd87ce18fd1560d34b0ecae920312cba6ba83 (patch) | |
tree | 050accd96b822f79ab45902935e1aa53fdd17fac /source3/librpc/gen_ndr/srv_ntsvcs.c | |
parent | 82ab936f6a0282004c936da6d3721290a1e4f539 (diff) | |
download | samba-300cd87ce18fd1560d34b0ecae920312cba6ba83.tar.gz samba-300cd87ce18fd1560d34b0ecae920312cba6ba83.tar.bz2 samba-300cd87ce18fd1560d34b0ecae920312cba6ba83.zip |
Re-run make idl.
Guenther
(This used to be commit f67632f9b244800007bfaef9cc2ab932fda78b3c)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_ntsvcs.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_ntsvcs.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_ntsvcs.c b/source3/librpc/gen_ndr/srv_ntsvcs.c index 339de6c747..523b4d8c91 100644 --- a/source3/librpc/gen_ndr/srv_ntsvcs.c +++ b/source3/librpc/gen_ndr/srv_ntsvcs.c @@ -1007,6 +1007,16 @@ static bool api_PNP_GetDeviceRegProp(pipes_struct *p) NDR_PRINT_IN_DEBUG(PNP_GetDeviceRegProp, r); } + ZERO_STRUCT(r->out); + r->out.unknown1 = r->in.unknown1; + r->out.buffer = talloc_zero_array(r, uint8_t, *r->out.buffer_size); + if (r->out.buffer == NULL) { + talloc_free(r); + return false; + } + + r->out.buffer_size = r->in.buffer_size; + r->out.needed = r->in.needed; r->out.result = _PNP_GetDeviceRegProp(p, r); if (p->rng_fault_state) { |