diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-01-16 15:18:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:43:38 -0500 |
commit | 9119276bbcbc6bfa96d2aa906849b93c97fd44fb (patch) | |
tree | 4e506aa86835a13bda580ac4857bfbba39ba6654 | |
parent | 615895332a73ad372bcb5918190cbfff6ba83e05 (diff) | |
download | samba-9119276bbcbc6bfa96d2aa906849b93c97fd44fb.tar.gz samba-9119276bbcbc6bfa96d2aa906849b93c97fd44fb.tar.bz2 samba-9119276bbcbc6bfa96d2aa906849b93c97fd44fb.zip |
r20831: Update RPC-SCANNER as well after IDL changes.
(This used to be commit 1c562d9f8311c4038fcff067ac6bb8364b606573)
-rw-r--r-- | source4/torture/rpc/scanner.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/torture/rpc/scanner.c b/source4/torture/rpc/scanner.c index 9c0c973712..23e2b96c45 100644 --- a/source4/torture/rpc/scanner.c +++ b/source4/torture/rpc/scanner.c @@ -100,7 +100,10 @@ static BOOL test_inq_if_ids(struct dcerpc_pipe *p, { NTSTATUS status; struct mgmt_inq_if_ids r; + struct rpc_if_id_vector_t *vector; int i; + + r.out.if_id_vector = &vector; status = dcerpc_mgmt_inq_if_ids(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { @@ -118,9 +121,9 @@ static BOOL test_inq_if_ids(struct dcerpc_pipe *p, return False; } - for (i=0;i<r.out.if_id_vector->count;i++) { + for (i=0;i<vector->count;i++) { const char *uuid; - struct dcerpc_syntax_id *id = r.out.if_id_vector->if_id[i].id; + struct dcerpc_syntax_id *id = vector->if_id[i].id; if (!id) continue; uuid = GUID_string(mem_ctx, &id->uuid), |