From c5b07415cc3a6a7960cb3ca2a2aaf70b1cbe3469 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 27 Apr 2025 19:07:03 -0700 Subject: AIO: Use nng_err for cancellation callback instead of int. This is part of our work to improve type safety/awareness, and also improve debugger support, for NNG error codes. There are still quite a few more but this should help. --- src/sp/transport/inproc/inproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp/transport/inproc') diff --git a/src/sp/transport/inproc/inproc.c b/src/sp/transport/inproc/inproc.c index 672c4d33..1c7b88e6 100644 --- a/src/sp/transport/inproc/inproc.c +++ b/src/sp/transport/inproc/inproc.c @@ -176,7 +176,7 @@ inproc_queue_run(inproc_queue *queue) } static void -inproc_queue_cancel(nni_aio *aio, void *arg, int rv) +inproc_queue_cancel(nni_aio *aio, void *arg, nng_err rv) { inproc_queue *queue = arg; @@ -433,7 +433,7 @@ inproc_accept_clients(inproc_ep *srv) } static void -inproc_ep_cancel(nni_aio *aio, void *arg, int rv) +inproc_ep_cancel(nni_aio *aio, void *arg, nng_err rv) { inproc_ep *ep = arg; -- cgit v1.2.3-70-g09d2