aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/pipeline0/push_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/protocol/pipeline0/push_test.c')
-rw-r--r--src/sp/protocol/pipeline0/push_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/pipeline0/push_test.c b/src/sp/protocol/pipeline0/push_test.c
index e0d314ee..579178b5 100644
--- a/src/sp/protocol/pipeline0/push_test.c
+++ b/src/sp/protocol/pipeline0/push_test.c
@@ -271,7 +271,7 @@ test_push_close_send(void)
nng_aio_set_timeout(aio, 1000);
nng_aio_set_msg(aio, m);
nng_send_aio(s, aio);
- NUTS_PASS(nng_close(s));
+ NUTS_CLOSE(s);
nng_aio_wait(aio);
NUTS_FAIL(nng_aio_result(aio), NNG_ECLOSED);