mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r20831: Update RPC-SCANNER as well after IDL changes.
(This used to be commit 1c562d9f83
)
This commit is contained in:
parent
615895332a
commit
9119276bbc
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user