From 3d4be5126f91978b7d7349de79334ecfc8fc2afe Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 11 Mar 2017 22:38:21 -0800 Subject: Notification working - separate thread now. --- src/core/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/options.c') 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); } -- cgit v1.2.3-70-g09d2