From b018c9b9a22fa44b924a64f7a3ee8c0e38f614e2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 18 Aug 2007 10:32:53 +0000 Subject: r24537: regenerate after pidl fixes metze (This used to be commit e827c7311ce9890358be145099391c6b3cee15a1) --- source3/librpc/gen_ndr/srv_netlogon.c | 2 +- source3/librpc/gen_ndr/srv_unixinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/librpc/gen_ndr') 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; -- cgit