aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/survey0/xsurvey_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/protocol/survey0/xsurvey_test.c')
-rw-r--r--src/sp/protocol/survey0/xsurvey_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/survey0/xsurvey_test.c b/src/sp/protocol/survey0/xsurvey_test.c
index 44b2c990..1b9c52fd 100644
--- a/src/sp/protocol/survey0/xsurvey_test.c
+++ b/src/sp/protocol/survey0/xsurvey_test.c
@@ -170,7 +170,7 @@ test_xsurvey_recv_aio_stopped(void)
NUTS_PASS(nng_aio_alloc(&aio, NULL, NULL));
nng_aio_stop(aio);
- nng_recv_aio(surv, aio);
+ nng_socket_recv(surv, aio);
nng_aio_wait(aio);
NUTS_FAIL(nng_aio_result(aio), NNG_ESTOPPED);
NUTS_CLOSE(surv);