diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-05-07 21:56:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:43 -0500 |
commit | 2a8925ad2509e1e777e4eb3e7712a5cf68847ab5 (patch) | |
tree | cc52092e47c587c779a4009ff153da333975078a /source4/torture/rpc/unixinfo.c | |
parent | c3958aa23112ba7ad1663e798d5226d1167639fe (diff) | |
download | samba-2a8925ad2509e1e777e4eb3e7712a5cf68847ab5.tar.gz |
r15507: if we change the idl, we need to change the calling code too:-)
is it possible to run the RPC-UNIXINFO test in samba4's make test?
metze
(This used to be commit a00063eeb308dae8396e3b79ed5dd7884652f1ba)
Diffstat (limited to 'source4/torture/rpc/unixinfo.c')
-rw-r--r-- | source4/torture/rpc/unixinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/unixinfo.c b/source4/torture/rpc/unixinfo.c index 3eafb17c44f..6d1772a4f46 100644 --- a/source4/torture/rpc/unixinfo.c +++ b/source4/torture/rpc/unixinfo.c @@ -47,8 +47,8 @@ static BOOL test_uidtosid(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) static BOOL test_getpwuid(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { uint64_t uids[512]; - const int num_uids = sizeof(uids)/sizeof(uids[0]); - int i; + uint32_t num_uids = ARRAY_SIZE(uids); + uint32_t i; struct unixinfo_GetPWUid r; NTSTATUS result; @@ -56,7 +56,7 @@ static BOOL test_getpwuid(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) uids[i] = i; } - r.in.count = num_uids; + r.in.count = &num_uids; r.in.uids = uids; result = dcerpc_unixinfo_GetPWUid(p, mem_ctx, &r); |