]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:rpc_server/remote: make use of dcesrv_async_reply()
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Oct 2023 09:05:46 +0000 (11:05 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 17 Oct 2023 19:20:38 +0000 (19:20 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/remote/dcesrv_remote.c

index a57f2a75f3e7cf4d748576a9a56cf13b0ceb0bb8..08927521a1ea4f61199a7ce2985684b2d69a07e3 100644 (file)
@@ -374,11 +374,7 @@ static void remote_op_dispatch_done(struct tevent_req *subreq)
        }
 
 reply:
-       status = dcesrv_reply(dce_call);
-       if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0,("dcesrv_remote: call[%s]: dcesrv_reply() failed - %s\n",
-                       name, nt_errstr(status)));
-       }
+       _dcesrv_async_reply(dce_call, __func__, name);
 }
 
 static NTSTATUS remote_op_ndr_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_push *push, const void *r)