diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-11 04:38:51 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-11 04:38:51 +0000 |
commit | deeb8d98a10a0fb1dbeca13653a802cef43d9e07 (patch) | |
tree | 52e058702da89b0b408d73688fd1f7f8f60da008 /source4/torture/rpc | |
parent | 161321f68db0e83e71099364a654c796e49b8152 (diff) | |
download | samba-deeb8d98a10a0fb1dbeca13653a802cef43d9e07.tar.gz samba-deeb8d98a10a0fb1dbeca13653a802cef43d9e07.tar.bz2 samba-deeb8d98a10a0fb1dbeca13653a802cef43d9e07.zip |
start using automatic union printing
(This used to be commit e81040a902f67fd10ca1f9c9ca1c22bc95e36005)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/lsa.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index ece5212ee6..71c1ce2147 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -212,7 +212,6 @@ static BOOL test_LookupSids(struct dcerpc_pipe *p, struct lsa_TransNameArray names; uint32 count = sids->num_sids; NTSTATUS status; - int i; printf("\nTesting LookupSids\n"); @@ -312,7 +311,6 @@ static BOOL test_EnumAccountRights(struct dcerpc_pipe *p, NTSTATUS status; struct lsa_EnumAccountRights r; struct lsa_RightSet rights; - int i; printf("Testing EnumAccountRights\n"); @@ -434,7 +432,6 @@ static BOOL test_EnumPrivs(struct dcerpc_pipe *p, struct lsa_EnumPrivs r; struct lsa_PrivArray privs1; uint32 resume_handle = 0; - int i; printf("\ntesting EnumPrivs\n"); @@ -465,7 +462,6 @@ static BOOL test_EnumTrustDom(struct dcerpc_pipe *p, { struct lsa_EnumTrustDom r; NTSTATUS status; - int i; uint32 resume_handle = 0; struct lsa_DomainList domains; @@ -508,7 +504,7 @@ static BOOL test_QueryInfoPolicy(struct dcerpc_pipe *p, return False; } - NDR_PRINT_DEBUG(lsa_AuditLogInfo, &r.out.info->audit_log); + NDR_PRINT_UNION_DEBUG(lsa_PolicyInformation, r.in.level, r.out.info); return True; } |