diff options
Diffstat (limited to 'src/transport/ipc')
| -rw-r--r-- | src/transport/ipc/ipc.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |
