From 553ed74c7ae8a1bb79ade90ec8a3fab92a8a34a7 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 10 Oct 2025 21:12:43 -0700 Subject: nng_aio_finish should take nng_err rather than int --- src/nng.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index 423ddb64..acbfd1b5 100644 --- a/src/nng.c +++ b/src/nng.c @@ -8,7 +8,6 @@ // found online at https://opensource.org/licenses/MIT. // -#include "nng/nng.h" #include "core/nng_impl.h" #include "core/platform.h" #include "core/socket.h" @@ -2061,7 +2060,7 @@ nng_aio_get_output(nng_aio *aio, unsigned index) } void -nng_aio_finish(nng_aio *aio, int rv) +nng_aio_finish(nng_aio *aio, nng_err rv) { // Preserve the count. nni_aio_finish(aio, rv, nni_aio_count(aio)); -- cgit v1.2.3-70-g09d2