From d606317f5c028fa8fba5d5384b0ccd90ffa4eab5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 8 Feb 2018 14:16:23 -0800 Subject: fixes #171 Refactor aio to use generic data fields This addresses the use of the pipe special field, and eliminates it. The message APIs (recvmsg, sendmsg) need to be updated as well still, but I want to handle that as part of a separate issue. While here we fixed various compiler warnings, etc. --- src/nng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index ef5b5292..f552e26b 100644 --- a/src/nng.c +++ b/src/nng.c @@ -1140,7 +1140,7 @@ void nng_aio_finish(nng_aio *aio, int rv) { // Preserve the count. - return (nni_aio_finish(aio, rv, nni_aio_count(aio))); + nni_aio_finish(aio, rv, nni_aio_count(aio)); } #if 0 -- cgit v1.2.3-70-g09d2