1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3: cli_close_done->write_andx_done in test_async_echo

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jul 27 02:03:49 CEST 2011 on sn-devel-104
This commit is contained in:
Volker Lendecke 2011-07-26 21:07:08 +02:00 committed by Volker Lendecke
parent cdae9ef267
commit 61d420e0d8

View File

@ -46,7 +46,7 @@ static void cli_echo_done(struct tevent_req *req)
*done -= 1;
}
static void cli_close_done(struct tevent_req *req)
static void write_andx_done(struct tevent_req *req)
{
int *done = (int *)tevent_req_callback_data_void(req);
NTSTATUS status;
@ -117,7 +117,7 @@ bool run_async_echo(int dummy)
printf("cli_write_andx_send failed\n");
goto fail;
}
tevent_req_set_callback(req, cli_close_done, &num_reqs);
tevent_req_set_callback(req, write_andx_done, &num_reqs);
num_reqs += 1;
req = cli_echo_send(ev, ev, cli, 1,