diff options
author | Matthieu Patou <mat@matws.net> | 2013-05-05 14:53:40 -0700 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-05-06 08:35:10 +0200 |
commit | 99c95fc98309a7aa08cfc37c4de5105d90696b7a (patch) | |
tree | dbd90bf62d4131c2287246725d8b8e85bb4e1b14 | |
parent | bf332392e15e4a2b8799101e3ddae194dca36d13 (diff) | |
download | samba-99c95fc98309a7aa08cfc37c4de5105d90696b7a.tar.gz samba-99c95fc98309a7aa08cfc37c4de5105d90696b7a.tar.bz2 samba-99c95fc98309a7aa08cfc37c4de5105d90696b7a.zip |
libsmb: call directly tevent_req_simple_finish_ntstatus
The CC compiler on openindiana is not pleased with a void function doing
a return of another void function.
It should help the build of openindiana on the buildfarm
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon May 6 08:35:10 CEST 2013 on sn-devel-104
-rw-r--r-- | source3/libsmb/cliconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 3242d8c965..7179c4f209 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -2687,13 +2687,13 @@ static struct tevent_req *cli_tree_connect_send( static void cli_tree_connect_smb2_done(struct tevent_req *subreq) { - return tevent_req_simple_finish_ntstatus( + tevent_req_simple_finish_ntstatus( subreq, smb2cli_tcon_recv(subreq)); } static void cli_tree_connect_andx_done(struct tevent_req *subreq) { - return tevent_req_simple_finish_ntstatus( + tevent_req_simple_finish_ntstatus( subreq, cli_tcon_andx_recv(subreq)); } |