diff options
| author | Edward Rudd <urkle@outoforder.cc> | 2021-12-29 10:13:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-29 07:13:09 -0800 |
| commit | 44fadb7042fbfdf75f20572c59e410f406bb82f4 (patch) | |
| tree | aa8380a652d7666f9f51732361494db79ec7114a /tests/nonblock.c | |
| parent | 6cf5acb15147766eebdd6cf2731eacd8e0e31518 (diff) | |
| download | nng-44fadb7042fbfdf75f20572c59e410f406bb82f4.tar.gz nng-44fadb7042fbfdf75f20572c59e410f406bb82f4.tar.bz2 nng-44fadb7042fbfdf75f20572c59e410f406bb82f4.zip | |
don't use deprecated functions in tests (#1560)
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 3ad22889..4fde2c80 100644 --- a/tests/nonblock.c +++ b/tests/nonblock.c @@ -36,7 +36,7 @@ repthr(void *arg) nng_listen(rep, addr, &l, NNG_FLAG_NONBLOCK); - nng_getopt_int(rep, NNG_OPT_RECVFD, &ifd); + nng_socket_get_int(rep, NNG_OPT_RECVFD, &ifd); fd = ifd; for (;;) { |
