aboutsummaryrefslogtreecommitdiff
path: root/src/core/endpt.c
diff options
context:
space:
mode:
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