summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-18 10:32:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:54 -0500
commitb018c9b9a22fa44b924a64f7a3ee8c0e38f614e2 (patch)
tree4e1a71e596f4c6c957e2a26db62fa5e482f2062f /source3
parent5da47f8518fa38e6db44b42b2fce7da89abb5721 (diff)
downloadsamba-b018c9b9a22fa44b924a64f7a3ee8c0e38f614e2.tar.gz
samba-b018c9b9a22fa44b924a64f7a3ee8c0e38f614e2.tar.bz2
samba-b018c9b9a22fa44b924a64f7a3ee8c0e38f614e2.zip
r24537: regenerate after pidl fixes
metze (This used to be commit e827c7311ce9890358be145099391c6b3cee15a1)
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/gen_ndr/srv_netlogon.c2
-rw-r--r--source3/librpc/gen_ndr/srv_unixinfo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/srv_netlogon.c b/source3/librpc/gen_ndr/srv_netlogon.c
index 9b87c61853..e964918403 100644
--- a/source3/librpc/gen_ndr/srv_netlogon.c
+++ b/source3/librpc/gen_ndr/srv_netlogon.c
@@ -2836,7 +2836,7 @@ static BOOL api_netr_DsrEnumerateDomainTrusts(pipes_struct *p)
return False;
}
- r.out.trusts = talloc_zero_array(mem_ctx, struct netr_DomainTrust *, count);
+ r.out.trusts = talloc_zero_array(mem_ctx, struct netr_DomainTrust *, r.out.count);
if (r.out.trusts == NULL) {
talloc_free(mem_ctx);
return False;
diff --git a/source3/librpc/gen_ndr/srv_unixinfo.c b/source3/librpc/gen_ndr/srv_unixinfo.c
index 3fbe815870..d02a5561a6 100644
--- a/source3/librpc/gen_ndr/srv_unixinfo.c
+++ b/source3/librpc/gen_ndr/srv_unixinfo.c
@@ -322,7 +322,7 @@ static BOOL api_unixinfo_GetPWUid(pipes_struct *p)
ZERO_STRUCT(r.out);
r.out.count = r.in.count;
- r.out.infos = talloc_zero_array(mem_ctx, struct unixinfo_GetPWUidInfo, *r.in.count);
+ r.out.infos = talloc_zero_array(mem_ctx, struct unixinfo_GetPWUidInfo, *r.out.count);
if (r.out.infos == NULL) {
talloc_free(mem_ctx);
return False;