summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_ntsvcs.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-26 11:35:44 +0100
committerGünther Deschner <gd@samba.org>2008-03-26 12:17:17 +0100
commit300cd87ce18fd1560d34b0ecae920312cba6ba83 (patch)
tree050accd96b822f79ab45902935e1aa53fdd17fac /source3/librpc/gen_ndr/srv_ntsvcs.c
parent82ab936f6a0282004c936da6d3721290a1e4f539 (diff)
downloadsamba-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.c10
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) {