From b8e07323c985c4b797c2d31bf91af3f9a9471052 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 23 Oct 2013 17:04:12 +0200 Subject: [PATCH] s3-rpc_server: Use make_internal_rpc_pipe_socketpair(). Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- source3/rpc_server/srv_pipe_hnd.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 4fc6a72a9d3..8a26afb4af8 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -474,20 +474,21 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name, return NT_STATUS_OBJECT_NAME_NOT_FOUND; } - status = make_internal_rpc_pipe(handle, - msg_ctx, - name, - &syntax, - remote_address, - session_info, - &npa); + status = make_internal_rpc_pipe_socketpair(handle, + ev_ctx, + msg_ctx, + name, + &syntax, + remote_address, + session_info, + &npa); if (!NT_STATUS_IS_OK(status)) { talloc_free(handle); return status; } handle->private_data = (void *)npa; - handle->type = FAKE_FILE_TYPE_NAMED_PIPE; + handle->type = FAKE_FILE_TYPE_NAMED_PIPE_PROXY; break; case RPC_SERVICE_MODE_DISABLED: -- 2.11.4.GIT