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/protocol/pubsub0/sub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp/protocol/pubsub0') diff --git a/src/sp/protocol/pubsub0/sub.c b/src/sp/protocol/pubsub0/sub.c index 97324571..6744e909 100644 --- a/src/sp/protocol/pubsub0/sub.c +++ b/src/sp/protocol/pubsub0/sub.c @@ -76,7 +76,7 @@ struct sub0_pipe { }; static void -sub0_ctx_cancel(nng_aio *aio, void *arg, int rv) +sub0_ctx_cancel(nng_aio *aio, void *arg, nng_err rv) { sub0_ctx *ctx = arg; sub0_sock *sock = ctx->sock; -- cgit v1.2.3-70-g09d2