From b52d58d6e1841f4c0d3d9f6c386e60e761ef4b1e Mon Sep 17 00:00:00 2001 From: Samuel Cabrero Date: Tue, 22 Jan 2019 15:50:38 +0100 Subject: [PATCH] s3:rpc_server: Rename named_pipe_listener Signed-off-by: Samuel Cabrero Reviewed-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- source3/rpc_server/rpc_server.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c index 552253d933a..4757a529b31 100644 --- a/source3/rpc_server/rpc_server.c +++ b/source3/rpc_server/rpc_server.c @@ -91,10 +91,10 @@ struct dcerpc_ncacn_listen_state { dcerpc_ncacn_disconnect_fn disconnect_fn; }; -static void named_pipe_listener(struct tevent_context *ev, - struct tevent_fd *fde, - uint16_t flags, - void *private_data); +static void dcesrv_ncacn_np_listener(struct tevent_context *ev, + struct tevent_fd *fde, + uint16_t flags, + void *private_data); NTSTATUS dcesrv_create_ncacn_np_socket(const char *pipe_name, int *out_fd) { @@ -190,7 +190,7 @@ NTSTATUS dcesrv_setup_ncacn_np_socket(const char *pipe_name, errno = 0; fde = tevent_add_fd(ev_ctx, state, state->fd, TEVENT_FD_READ, - named_pipe_listener, state); + dcesrv_ncacn_np_listener, state); if (fde == NULL) { if (errno == 0) { errno = ENOMEM; @@ -212,10 +212,10 @@ out: return status; } -static void named_pipe_listener(struct tevent_context *ev, - struct tevent_fd *fde, - uint16_t flags, - void *private_data) +static void dcesrv_ncacn_np_listener(struct tevent_context *ev, + struct tevent_fd *fde, + uint16_t flags, + void *private_data) { struct dcerpc_ncacn_listen_state *state = talloc_get_type_abort(private_data, -- 2.11.4.GIT