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/core/aio_test.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/core/aio_test.c') diff --git a/src/core/aio_test.c b/src/core/aio_test.c index f9663903..d8d70e12 100644 --- a/src/core/aio_test.c +++ b/src/core/aio_test.c @@ -155,7 +155,7 @@ test_consumer_cancel(void) NUTS_TRUE(nng_aio_result(a) == NNG_ECANCELED); nng_aio_free(a); - NUTS_TRUE(nng_close(s1) == 0); + NUTS_CLOSE(s1); } void @@ -207,8 +207,8 @@ test_traffic(void) nng_aio_free(rx_aio); nng_aio_free(tx_aio); - NUTS_PASS(nng_close(s1)); - NUTS_PASS(nng_close(s2)); + NUTS_CLOSE(s1); + NUTS_CLOSE(s2); } void @@ -226,7 +226,7 @@ test_explicit_timeout(void) NUTS_TRUE(done == 1); NUTS_FAIL(nng_aio_result(a), NNG_ETIMEDOUT); nng_aio_free(a); - NUTS_PASS(nng_close(s)); + NUTS_CLOSE(s); } void @@ -247,7 +247,7 @@ test_explicit_expiration(void) NUTS_TRUE(done == 1); NUTS_FAIL(nng_aio_result(a), NNG_ETIMEDOUT); nng_aio_free(a); - NUTS_PASS(nng_close(s)); + NUTS_CLOSE(s); } void @@ -265,7 +265,7 @@ test_inherited_timeout(void) NUTS_TRUE(done == 1); NUTS_FAIL(nng_aio_result(a), NNG_ETIMEDOUT); nng_aio_free(a); - NUTS_PASS(nng_close(s)); + NUTS_CLOSE(s); } void @@ -283,7 +283,7 @@ test_zero_timeout(void) NUTS_TRUE(done == 1); NUTS_FAIL(nng_aio_result(a), NNG_ETIMEDOUT); nng_aio_free(a); - NUTS_PASS(nng_close(s)); + NUTS_CLOSE(s); } static void -- cgit v1.2.3-70-g09d2