diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-03-05 14:29:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-07 16:52:34 +0100 |
commit | 6dfc96c329421979e7367ceee3a65633e4738472 (patch) | |
tree | 4fc899897cfed23fe183e4bd5f100244b69e82cb /source4/torture/nbt/winsreplication.c | |
parent | db051f0db6d45d4293d58c48ae620d8945ba8c65 (diff) | |
download | samba-6dfc96c329421979e7367ceee3a65633e4738472.tar.gz samba-6dfc96c329421979e7367ceee3a65633e4738472.tar.xz samba-6dfc96c329421979e7367ceee3a65633e4738472.zip |
s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed by wrepl_request_recv()
metze
Diffstat (limited to 'source4/torture/nbt/winsreplication.c')
-rw-r--r-- | source4/torture/nbt/winsreplication.c | 3 |
1 files changed, 1 insertions, 2 deletions
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"); |