aboutsummaryrefslogtreecommitdiff
path: root/src/transport/inproc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-31 14:30:36 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-31 14:30:36 -0800
commit4e4203fb1cddcfb205d602dd76cd0a8338321ee6 (patch)
tree566907bf0c9b5e588f49db8fcb3fa3a681060fbd /src/transport/inproc
parent8fe11dfb66acfe067b21b6eb47eb9e3928169950 (diff)
downloadnng-4e4203fb1cddcfb205d602dd76cd0a8338321ee6.tar.gz
nng-4e4203fb1cddcfb205d602dd76cd0a8338321ee6.tar.bz2
nng-4e4203fb1cddcfb205d602dd76cd0a8338321ee6.zip
Close & destroy endpoints in a single operation.
Diffstat (limited to 'src/transport/inproc')
-rw-r--r--src/transport/inproc/inproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/inproc/inproc.c b/src/transport/inproc/inproc.c
index d15b642e..04cd8fec 100644
--- a/src/transport/inproc/inproc.c
+++ b/src/transport/inproc/inproc.c
@@ -294,7 +294,7 @@ nni_inproc_ep_connect(void *arg, void **pipep)
}
*pipep = ep->cpipe;
nni_mutex_exit(&nni_inproc.mx);
- return (ep->closed ? NNG_ECLOSED : 0);
+ return (0);
}