summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_wkssvc.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-07 09:49:59 +0100
committerGünther Deschner <gd@samba.org>2008-02-07 09:49:59 +0100
commit6738467eabe18296bde0b9d709af2e821973756f (patch)
tree918aef51ce2b9ca05431f1d01881af8b0b9bee41 /source3/librpc/gen_ndr/srv_wkssvc.c
parent96df3da34e8d6aab6f5478beb0c7b14e39c84902 (diff)
downloadsamba-6738467eabe18296bde0b9d709af2e821973756f.tar.gz
samba-6738467eabe18296bde0b9d709af2e821973756f.tar.bz2
samba-6738467eabe18296bde0b9d709af2e821973756f.zip
Re-run make idl after fixes for wkssvc_NetrGetJoinableOus{2}.
Guenther (This used to be commit 3984581564a44d631b9385c9e7be9751baf641d5)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_wkssvc.c')
-rw-r--r--source3/librpc/gen_ndr/srv_wkssvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/srv_wkssvc.c b/source3/librpc/gen_ndr/srv_wkssvc.c
index ddbf3aa373..da2279001d 100644
--- a/source3/librpc/gen_ndr/srv_wkssvc.c
+++ b/source3/librpc/gen_ndr/srv_wkssvc.c
@@ -1650,7 +1650,7 @@ static bool api_wkssvc_NetrGetJoinableOus(pipes_struct *p)
ZERO_STRUCT(r->out);
r->out.num_ous = r->in.num_ous;
- r->out.ous = talloc_zero_array(r, const char **, *r->out.num_ous);
+ r->out.ous = talloc_zero(r, const char **);
if (r->out.ous == NULL) {
talloc_free(r);
return false;
@@ -2023,7 +2023,7 @@ static bool api_wkssvc_NetrGetJoinableOus2(pipes_struct *p)
ZERO_STRUCT(r->out);
r->out.num_ous = r->in.num_ous;
- r->out.ous = talloc_zero_array(r, const char **, *r->out.num_ous);
+ r->out.ous = talloc_zero(r, const char **);
if (r->out.ous == NULL) {
talloc_free(r);
return false;