diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-26 00:59:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:17 -0500 |
commit | 42da534d66c14c60844568246a2862da7b49f1d5 (patch) | |
tree | 4c8156ae3cb44be0483bce10b5f60bad1bd286c7 /source4/torture/rpc/scanner.c | |
parent | 7780e2bfa1e446d02a0168e85bf7713fd4ce475b (diff) | |
download | samba-42da534d66c14c60844568246a2862da7b49f1d5.tar.gz samba-42da534d66c14c60844568246a2862da7b49f1d5.tar.bz2 samba-42da534d66c14c60844568246a2862da7b49f1d5.zip |
r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
(This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
Diffstat (limited to 'source4/torture/rpc/scanner.c')
-rw-r--r-- | source4/torture/rpc/scanner.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/torture/rpc/scanner.c b/source4/torture/rpc/scanner.c index 765151f1b8..89c0cb485e 100644 --- a/source4/torture/rpc/scanner.c +++ b/source4/torture/rpc/scanner.c @@ -43,8 +43,7 @@ static BOOL test_num_calls(const struct dcerpc_interface_table *iface, /* FIXME: This should be fixed when torture_rpc_connection * takes a dcerpc_syntax_id */ tbl.name = iface->name; - tbl.uuid = id->uuid; - tbl.if_version = id->if_version; + tbl.syntax_id = *id; status = torture_rpc_connection(mem_ctx, &p, iface); if (!NT_STATUS_IS_OK(status)) { @@ -177,7 +176,7 @@ BOOL torture_rpc_scanner(struct torture_context *torture) status = dcerpc_epm_map_binding(mem_ctx, b, l->table, NULL); if (!NT_STATUS_IS_OK(status)) { printf("Failed to map port for uuid %s\n", - GUID_string(loop_ctx, &l->table->uuid)); + GUID_string(loop_ctx, &l->table->syntax_id.uuid)); talloc_free(loop_ctx); continue; } |