diff options
Diffstat (limited to 'tests')
| -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 e58b94d7..b9e48014 100644 --- a/tests/multistress.c +++ b/tests/multistress.c @@ -581,7 +581,7 @@ pubsub0_test(int ntests) if ((rv = nng_aio_alloc(&cli->recd, sub0_recd, cli)) != 0) { fatal("nng_aio_alloc", rv); } - rv = nng_socket_set(cli->sock, NNG_OPT_SUB_SUBSCRIBE, "", 0); + rv = nng_sub0_socket_subscribe(cli->sock, "", 0); if (rv != 0) { fatal("subscribe", rv); } |
