diff options
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; |
