aboutsummaryrefslogtreecommitdiff
path: root/src/nng.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-06-06 08:15:08 -0700
committerGarrett D'Amore <garrett@damore.org>2017-06-06 08:15:08 -0700
commit46a559cbdff02d8f9ca48bd918c17c33336de3a1 (patch)
tree7c3d6ec8fb757e2856cfeeb827f78eb4c80fefb2 /src/nng.c
parent90c0aad40e9dbcfc1734f3174d6ce20625004a33 (diff)
downloadnng-46a559cbdff02d8f9ca48bd918c17c33336de3a1.tar.gz
nng-46a559cbdff02d8f9ca48bd918c17c33336de3a1.tar.bz2
nng-46a559cbdff02d8f9ca48bd918c17c33336de3a1.zip
Start of using objhash for endpoints.
Diffstat (limited to 'src/nng.c')
-rw-r--r--src/nng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nng.c b/src/nng.c
index 23ab4319..531ba35a 100644
--- a/src/nng.c
+++ b/src/nng.c
@@ -267,7 +267,7 @@ nng_endpoint_close(nng_endpoint eid)
int rv;
nni_ep *ep;
- if ((rv = nni_ep_hold_close(&ep, eid)) != 0) {
+ if ((rv = nni_ep_hold(&ep, eid)) != 0) {
return (rv);
}
nni_ep_close(ep);