diff options
Diffstat (limited to 'src/core/options.c')
| -rw-r--r-- | src/core/options.c | 2 |
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); } |
