diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-01-30 09:14:00 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2014-02-13 11:54:17 +0100 |
commit | 57476e4e224a441fc88e504778d47ab0c9657955 (patch) | |
tree | 213515b9a3827db6b56eed5f5586bf2408f601f7 | |
parent | 03846bcc08f1ce3d1f25736b030830bcf42db912 (diff) | |
download | samba-57476e4e224a441fc88e504778d47ab0c9657955.tar.gz samba-57476e4e224a441fc88e504778d47ab0c9657955.tar.xz samba-57476e4e224a441fc88e504778d47ab0c9657955.zip |
s4:torture/rpc: use dcerpc_binding_set_abstract_syntax() in epmapper.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
-rw-r--r-- | source4/torture/rpc/epmapper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c index bd8bb47af0..9033d58083 100644 --- a/source4/torture/rpc/epmapper.c +++ b/source4/torture/rpc/epmapper.c @@ -174,7 +174,9 @@ static bool test_Map_tcpip(struct torture_context *tctx, torture_assert_ntstatus_ok(tctx, status, "epm_Map_tcpip failed: can't create map_binding"); - map_binding->object = map_syntax; + status = dcerpc_binding_set_abstract_syntax(map_binding, &map_syntax); + torture_assert_ntstatus_ok(tctx, status, + "epm_Map_tcpip failed: set map_syntax"); status = dcerpc_binding_build_tower(tctx, map_binding, &map_tower.tower); |