From d6b3fce078869de35334c0805ff141dc8bcf5f65 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 18 Jan 2007 10:18:59 +0000 Subject: r20875: Pass DCE/RPC server call arguments as a struct rather than as separate arguments. This makes it a bit more similar to the Samba4 code. (This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448) --- source3/librpc/gen_ndr/srv_unixinfo.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/librpc/gen_ndr/srv_unixinfo.c') diff --git a/source3/librpc/gen_ndr/srv_unixinfo.c b/source3/librpc/gen_ndr/srv_unixinfo.c index 8cb6e567ac..3fbe815870 100644 --- a/source3/librpc/gen_ndr/srv_unixinfo.c +++ b/source3/librpc/gen_ndr/srv_unixinfo.c @@ -43,7 +43,7 @@ static BOOL api_unixinfo_SidToUid(pipes_struct *p) return False; } - r.out.result = _unixinfo_SidToUid(p, r.in.sid, r.out.uid); + r.out.result = _unixinfo_SidToUid(p, &r); if (p->rng_fault_state) { talloc_free(mem_ctx); @@ -114,7 +114,7 @@ static BOOL api_unixinfo_UidToSid(pipes_struct *p) return False; } - r.out.result = _unixinfo_UidToSid(p, r.in.uid, r.out.sid); + r.out.result = _unixinfo_UidToSid(p, &r); if (p->rng_fault_state) { talloc_free(mem_ctx); @@ -185,7 +185,7 @@ static BOOL api_unixinfo_SidToGid(pipes_struct *p) return False; } - r.out.result = _unixinfo_SidToGid(p, r.in.sid, r.out.gid); + r.out.result = _unixinfo_SidToGid(p, &r); if (p->rng_fault_state) { talloc_free(mem_ctx); @@ -256,7 +256,7 @@ static BOOL api_unixinfo_GidToSid(pipes_struct *p) return False; } - r.out.result = _unixinfo_GidToSid(p, r.in.gid, r.out.sid); + r.out.result = _unixinfo_GidToSid(p, &r); if (p->rng_fault_state) { talloc_free(mem_ctx); @@ -328,7 +328,7 @@ static BOOL api_unixinfo_GetPWUid(pipes_struct *p) return False; } - r.out.result = _unixinfo_GetPWUid(p, r.in.count, r.in.uids, r.out.infos); + r.out.result = _unixinfo_GetPWUid(p, &r); if (p->rng_fault_state) { talloc_free(mem_ctx); -- cgit