From 8ff8fa5077164f2ec9dd2f02b7f9f5b66f225db6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 14 Jan 2025 23:12:16 -0800 Subject: aio: more nng_err updates --- src/nng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index 26f45f76..ad9ae0f6 100644 --- a/src/nng.c +++ b/src/nng.c @@ -1828,11 +1828,11 @@ nng_msg_set_pipe(nng_msg *msg, nng_pipe p) nni_msg_set_pipe(msg, p.id); } -int +nng_err nng_aio_alloc(nng_aio **app, void (*cb)(void *), void *arg) { nng_aio *aio; - int rv; + nng_err rv; if ((rv = nni_aio_alloc(&aio, (nni_cb) cb, arg)) == 0) { nng_aio_set_timeout(aio, NNG_DURATION_DEFAULT); -- cgit v1.2.3-70-g09d2