From 61d420e0d84483a4182108b00eec7484ab89b478 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 26 Jul 2011 21:07:08 +0200 Subject: s3: cli_close_done->write_andx_done in test_async_echo Autobuild-User: Volker Lendecke Autobuild-Date: Wed Jul 27 02:03:49 CEST 2011 on sn-devel-104 --- source3/torture/test_async_echo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/torture/test_async_echo.c b/source3/torture/test_async_echo.c index e9e32ca328..6f829394db 100644 --- a/source3/torture/test_async_echo.c +++ b/source3/torture/test_async_echo.c @@ -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, -- cgit