mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed by wrepl_request_recv()
metze
This commit is contained in:
parent
db051f0db6
commit
6dfc96c329
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user