diff options
author | Volker Lendecke <vl@samba.org> | 2011-07-26 21:07:08 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-07-27 02:03:49 +0200 |
commit | 61d420e0d84483a4182108b00eec7484ab89b478 (patch) | |
tree | e85e4fb073c3dda9920d259b4af6361c5cee8ae1 | |
parent | cdae9ef267088c6b6b940a5f8fd0a8402e27da86 (diff) | |
download | samba-61d420e0d84483a4182108b00eec7484ab89b478.tar.gz samba-61d420e0d84483a4182108b00eec7484ab89b478.tar.bz2 samba-61d420e0d84483a4182108b00eec7484ab89b478.zip |
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
-rw-r--r-- | source3/torture/test_async_echo.c | 4 |
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, |