From 6091cf7e1c030417e1fd29c66160e71bcbe4f984 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 19 Mar 2017 22:08:17 -0700 Subject: More interface hiding. (pipe tran data setting). --- src/transport/ipc/ipc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/transport/ipc') diff --git a/src/transport/ipc/ipc.c b/src/transport/ipc/ipc.c index 4673a6dc..11965d17 100644 --- a/src/transport/ipc/ipc.c +++ b/src/transport/ipc/ipc.c @@ -260,7 +260,7 @@ nni_ipc_negotiate(nni_ipc_pipe *pipe) static int -nni_ipc_ep_connect(void *arg, void **pipep) +nni_ipc_ep_connect(void *arg, nni_pipe *npipe) { nni_ipc_ep *ep = arg; nni_ipc_pipe *pipe; @@ -295,7 +295,7 @@ nni_ipc_ep_connect(void *arg, void **pipep) NNI_FREE_STRUCT(pipe); return (rv); } - *pipep = pipe; + nni_pipe_set_tran_data(npipe, pipe); return (0); } @@ -321,7 +321,7 @@ nni_ipc_ep_bind(void *arg) static int -nni_ipc_ep_accept(void *arg, void **pipep) +nni_ipc_ep_accept(void *arg, nni_pipe *npipe) { nni_ipc_ep *ep = arg; nni_ipc_pipe *pipe; @@ -349,7 +349,7 @@ nni_ipc_ep_accept(void *arg, void **pipep) NNI_FREE_STRUCT(pipe); return (rv); } - *pipep = pipe; + nni_pipe_set_tran_data(npipe, pipe); return (0); } -- cgit v1.2.3-70-g09d2