aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol/reqrep0/xreq_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/protocol/reqrep0/xreq_test.c')
-rw-r--r--src/sp/protocol/reqrep0/xreq_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/reqrep0/xreq_test.c b/src/sp/protocol/reqrep0/xreq_test.c
index 1f06eb17..b51de556 100644
--- a/src/sp/protocol/reqrep0/xreq_test.c
+++ b/src/sp/protocol/reqrep0/xreq_test.c
@@ -358,7 +358,7 @@ test_xreq_ttl_option(void)
NUTS_TRUE(nng_socket_set_bool(rep, opt, true) == NNG_EBADTYPE);
NUTS_TRUE(nng_socket_get_bool(rep, opt, &b) == NNG_EBADTYPE);
- NUTS_TRUE(nng_close(rep) == 0);
+ NUTS_CLOSE(rep);
}
NUTS_TESTS = {