From 44fadb7042fbfdf75f20572c59e410f406bb82f4 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Wed, 29 Dec 2021 10:13:09 -0500 Subject: don't use deprecated functions in tests (#1560) --- tests/reqctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/reqctx.c') diff --git a/tests/reqctx.c b/tests/reqctx.c index c727b91c..e878037f 100644 --- a/tests/reqctx.c +++ b/tests/reqctx.c @@ -117,7 +117,7 @@ TestMain("REQ concurrent contexts", { nng_aio_set_timeout(saios[i], 5000); } - So(nng_setopt_int(rep_state.s, NNG_OPT_SENDBUF, NCTX) == 0); + So(nng_socket_set_int(rep_state.s, NNG_OPT_SENDBUF, NCTX) == 0); So(i == NCTX); for (i = 0; i < NCTX; i++) { uint32_t tmp; -- cgit v1.2.3-70-g09d2