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/reqctx.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/reqctx.c')
| -rw-r--r-- | tests/reqctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
