summaryrefslogtreecommitdiff
path: root/src/core/options.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-11 22:38:21 -0800
committerGarrett D'Amore <garrett@damore.org>2017-03-11 22:38:21 -0800
commit3d4be5126f91978b7d7349de79334ecfc8fc2afe (patch)
treec8cfadbb1096e99cad21bddbb9fe9ff7b5dd175a /src/core/options.c
parent3d90bae8eda62fecdf367932fca591b965838e20 (diff)
downloadnng-3d4be5126f91978b7d7349de79334ecfc8fc2afe.tar.gz
nng-3d4be5126f91978b7d7349de79334ecfc8fc2afe.tar.bz2
nng-3d4be5126f91978b7d7349de79334ecfc8fc2afe.zip
Notification working - separate thread now.
Diffstat (limited to 'src/core/options.c')
-rw-r--r--src/core/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/options.c b/src/core/options.c
index cd67e0d0..245172bf 100644
--- a/src/core/options.c
+++ b/src/core/options.c
@@ -195,7 +195,7 @@ nni_getopt_fd(nni_sock *s, nni_notifyfd *fd, int mask, void *val, size_t *szp)
return (rv);
}
- if (nni_add_notify(s, mask, nni_notifyfd_push, fd) == NULL) {
+ if (nni_sock_notify(s, mask, nni_notifyfd_push, fd) == NULL) {
nni_plat_pipe_close(fd->sn_wfd, fd->sn_rfd);
return (NNG_ENOMEM);
}