From b1ed9a8963844bbc80210cf108d491a47b5029a7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 17 Nov 2009 15:15:35 +0100 Subject: s3: Fix the build on Solaris --- source3/libsmb/clifile.c | 12 ++++++------ source3/libsmb/clifsinfo.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index d7fcc4b4e3..fb4857a1a5 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -121,7 +121,7 @@ static void cli_posix_link_internal_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } static struct tevent_req *cli_posix_link_internal_send(TALLOC_CTX *mem_ctx, @@ -947,7 +947,7 @@ static void cli_posix_chown_chmod_internal_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } static struct tevent_req *cli_posix_chown_chmod_internal_send(TALLOC_CTX *mem_ctx, @@ -1845,7 +1845,7 @@ static void cli_nt_delete_on_close_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } struct tevent_req *cli_nt_delete_on_close_send(TALLOC_CTX *mem_ctx, @@ -2451,7 +2451,7 @@ static void cli_ftruncate_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } struct tevent_req *cli_ftruncate_send(TALLOC_CTX *mem_ctx, @@ -2976,7 +2976,7 @@ static void cli_posix_unlock_internal_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } static struct tevent_req *cli_posix_lock_internal_send(TALLOC_CTX *mem_ctx, @@ -4772,7 +4772,7 @@ static void cli_posix_unlink_internal_done(struct tevent_req *subreq) { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } static struct tevent_req *cli_posix_unlink_internal_send(TALLOC_CTX *mem_ctx, diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c index 00fd47264b..3e9740d153 100644 --- a/source3/libsmb/clifsinfo.c +++ b/source3/libsmb/clifsinfo.c @@ -208,7 +208,7 @@ static void cli_set_unix_extensions_capabilities_done( { NTSTATUS status = cli_trans_recv(subreq, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, 0, NULL); - return tevent_req_simple_finish_ntstatus(subreq, status); + tevent_req_simple_finish_ntstatus(subreq, status); } NTSTATUS cli_set_unix_extensions_capabilities_recv(struct tevent_req *req) -- cgit