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 --- include/nng/nng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/nng/nng.h b/include/nng/nng.h index c2c8125c..afb347de 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -692,7 +692,7 @@ NNG_DECL void nng_aio_reset(nng_aio *); // The argument is the value that nng_aio_result() should return. // IMPORTANT: Callers must ensure that this is called EXACTLY ONCE on any // given aio. -NNG_DECL void nng_aio_finish(nng_aio *, int); +NNG_DECL void nng_aio_finish(nng_aio *, nng_err); // nng_aio_start is used to register a cancellation routine, and indicate // that the operation will be completed asynchronously. It must only be -- cgit v1.2.3-70-g09d2