diff options
Diffstat (limited to 'tests/multistress.c')
| -rw-r--r-- | tests/multistress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/multistress.c b/tests/multistress.c index fee40503..63feb666 100644 --- a/tests/multistress.c +++ b/tests/multistress.c @@ -585,7 +585,7 @@ pubsub0_test(int ntests) if ((rv = nng_aio_alloc(&cli->recd, sub0_recd, cli)) != 0) { fatal("nng_aio_alloc", rv); } - rv = nng_setopt(cli->sock, NNG_OPT_SUB_SUBSCRIBE, "", 0); + rv = nng_socket_set(cli->sock, NNG_OPT_SUB_SUBSCRIBE, "", 0); if (rv != 0) { fatal("subscribe", rv); } |
