]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: Fix the build on Solaris
authorVolker Lendecke <vl@samba.org>
Tue, 17 Nov 2009 14:15:35 +0000 (15:15 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 17 Nov 2009 14:16:28 +0000 (15:16 +0100)
source3/libsmb/clifile.c
source3/libsmb/clifsinfo.c

index d7fcc4b4e3c45e6e64906e674fcc408ada20601b..fb4857a1a516af8cd219b383a8a11e7f2ec7f737 100644 (file)
@@ -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,
index 00fd47264b2b85bd8e142b928d6812b8d77137eb..3e9740d15342042afb8eaf497a29b961063f3471 100644 (file)
@@ -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)