diff options
Diffstat (limited to 'tests/nonblock.c')
| -rw-r--r-- | tests/nonblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nonblock.c b/tests/nonblock.c index 19174882..624c9233 100644 --- a/tests/nonblock.c +++ b/tests/nonblock.c @@ -35,7 +35,7 @@ repthr(void *arg) nng_listen(rep, addr, &l, NNG_FLAG_NONBLOCK); - nng_socket_get_int(rep, NNG_OPT_RECVFD, &ifd); + nng_socket_get_recv_poll_fd(rep, &ifd); fd = ifd; for (;;) { |
