From 99c95fc98309a7aa08cfc37c4de5105d90696b7a Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 5 May 2013 14:53:40 -0700 Subject: [PATCH] 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 Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Mon May 6 08:35:10 CEST 2013 on sn-devel-104 --- source3/libsmb/cliconnect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 3242d8c965d..7179c4f209d 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)); } -- 2.34.1