aboutsummaryrefslogtreecommitdiff
path: root/src/core/endpt.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-22 21:15:53 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-22 21:15:53 -0800
commit32cfbaccd7ac89c00207e5d1345d23abf455ce16 (patch)
tree4c119268c9d12dd0072d44d0d74c9176356df8ca /src/core/endpt.c
parentee45cbf4498a3c1d1868469bdb0c767d66c278e4 (diff)
downloadnng-32cfbaccd7ac89c00207e5d1345d23abf455ce16.tar.gz
nng-32cfbaccd7ac89c00207e5d1345d23abf455ce16.tar.bz2
nng-32cfbaccd7ac89c00207e5d1345d23abf455ce16.zip
Implemented dialer core.
Diffstat (limited to 'src/core/endpt.c')
-rw-r--r--src/core/endpt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/endpt.c b/src/core/endpt.c
index bc947dfd..fd328b0f 100644
--- a/src/core/endpt.c
+++ b/src/core/endpt.c
@@ -139,12 +139,11 @@ nni_endpt_dial(nni_endpt *ep, nni_pipe **pp)
nni_pipe_destroy(pipe);
return (rv);
}
+ pipe->p_ep = ep;
*pp = pipe;
return (0);
}
#if 0
-int nni_endpt_dial(nni_endpt *, nni_pipe **);
-int nni_endpt_listen(nni_endpt *);
int nni_endpt_accept(nni_endpt *, nni_pipe **);
#endif