diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-03-19 22:08:17 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-03-19 22:08:17 -0700 |
| commit | 6091cf7e1c030417e1fd29c66160e71bcbe4f984 (patch) | |
| tree | c95a46550370a06cb10263e77e7419260c83fba5 /src/core/endpt.c | |
| parent | 9fe905a8040a7e089233125a003ef8911d98ddbd (diff) | |
| download | nng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.tar.gz nng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.tar.bz2 nng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.zip | |
More interface hiding. (pipe tran data setting).
Diffstat (limited to 'src/core/endpt.c')
| -rw-r--r-- | src/core/endpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/endpt.c b/src/core/endpt.c index b5ec0ced..0310783a 100644 --- a/src/core/endpt.c +++ b/src/core/endpt.c @@ -207,7 +207,7 @@ nni_ep_connect(nni_ep *ep, nni_pipe **pp) if ((rv = nni_pipe_create(&pipe, ep, ep->ep_sock, ep->ep_tran)) != 0) { return (rv); } - rv = ep->ep_ops.ep_connect(ep->ep_data, &pipe->p_tran_data); + rv = ep->ep_ops.ep_connect(ep->ep_data, pipe); if (rv != 0) { nni_pipe_destroy(pipe); return (rv); @@ -359,7 +359,7 @@ nni_ep_accept(nni_ep *ep, nni_pipe **pp) if ((rv = nni_pipe_create(&pipe, ep, ep->ep_sock, ep->ep_tran)) != 0) { return (rv); } - rv = ep->ep_ops.ep_accept(ep->ep_data, &pipe->p_tran_data); + rv = ep->ep_ops.ep_accept(ep->ep_data, pipe); if (rv != 0) { nni_pipe_destroy(pipe); return (rv); |
