From b0874b1dad787c32093a3ff81311e2d638dc6538 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 31 Dec 2024 13:26:44 -0800 Subject: socket: rename nng_close to nng_socket_close --- src/sp/protocol/pair0/pair0_test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/sp/protocol/pair0') diff --git a/src/sp/protocol/pair0/pair0_test.c b/src/sp/protocol/pair0/pair0_test.c index d883f1e3..dc3264be 100644 --- a/src/sp/protocol/pair0/pair0_test.c +++ b/src/sp/protocol/pair0/pair0_test.c @@ -215,7 +215,7 @@ test_pair0_send_stopped_aio(void) NUTS_FAIL(nng_aio_result(aio), NNG_ESTOPPED); nng_msg_free(msg); nng_aio_free(aio); - NUTS_PASS(nng_close(s1)); + NUTS_CLOSE(s1); } void @@ -235,7 +235,7 @@ test_pair0_send_canceled_aio(void) NUTS_FAIL(nng_aio_result(aio), NNG_ECANCELED); nng_msg_free(msg); nng_aio_free(aio); - NUTS_PASS(nng_close(s1)); + NUTS_CLOSE(s1); } void @@ -251,7 +251,7 @@ test_pair0_recv_stopped_aio(void) nng_aio_wait(aio); NUTS_FAIL(nng_aio_result(aio), NNG_ESTOPPED); nng_aio_free(aio); - NUTS_PASS(nng_close(s1)); + NUTS_CLOSE(s1); } void @@ -267,7 +267,7 @@ test_pair0_recv_canceled_aio(void) nng_aio_wait(aio); NUTS_FAIL(nng_aio_result(aio), NNG_ECANCELED); nng_aio_free(aio); - NUTS_PASS(nng_close(s1)); + NUTS_CLOSE(s1); } void test_pair0_raw(void) @@ -278,12 +278,12 @@ test_pair0_raw(void) NUTS_PASS(nng_pair0_open(&s1)); NUTS_PASS(nng_socket_raw(s1, &raw)); NUTS_TRUE(raw == false); - NUTS_PASS(nng_close(s1)); + NUTS_CLOSE(s1); NUTS_PASS(nng_pair0_open_raw(&s1)); NUTS_PASS(nng_socket_raw(s1, &raw)); NUTS_TRUE(raw == true); - NUTS_PASS(nng_close(s1)); + NUTS_CLOSE(s1); } void -- cgit v1.2.3-70-g09d2