diff options
author | Andreas Schneider <asn@samba.org> | 2013-10-23 17:04:12 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-29 16:27:35 +0100 |
commit | b8e07323c985c4b797c2d31bf91af3f9a9471052 (patch) | |
tree | bc54a5fd270563560693c187788326a85aa04cf2 /source3 | |
parent | 4498d07e7355a0ec8b96f7f9138d8321b15bef55 (diff) | |
download | samba-b8e07323c985c4b797c2d31bf91af3f9a9471052.tar.gz |
s3-rpc_server: Use make_internal_rpc_pipe_socketpair().
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 17 |
1 files 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: |