From 6dfc96c329421979e7367ceee3a65633e4738472 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Mar 2010 14:29:36 +0100 Subject: s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed by wrepl_request_recv() metze --- source4/torture/nbt/winsreplication.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/torture/nbt') diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index 14fe5845e1..1d08c4f849 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -145,8 +145,7 @@ static bool test_assoc_ctx1(struct torture_context *tctx) packet.assoc_ctx = 0; packet.mess_type = WREPL_REPLICATION; packet.message.replication.command = WREPL_REPL_TABLE_QUERY; - req = wrepl_request_send(wrepl_socket1, &packet, NULL); - status = wrepl_request_recv(req, tctx, &rep_packet); + status = wrepl_request(wrepl_socket1, tctx, &packet, &rep_packet); CHECK_STATUS(tctx, status, NT_STATUS_OK); torture_comment(tctx, "Send a association request (conn1), to make sure the last request was handled correct\n"); -- cgit