summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/test_async_echo.c4
1 files 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,