From 844ce972fed056e1c4e0517e43b814c62d68edce Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 5 Feb 2018 10:23:35 -0800 Subject: fixes #228 aio iov should have larger limits (dynamically allocated) --- src/nng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nng.h') diff --git a/src/nng.h b/src/nng.h index a5b3346a..049651c1 100644 --- a/src/nng.h +++ b/src/nng.h @@ -334,7 +334,7 @@ NNG_DECL void nng_aio_set_timeout(nng_aio *, nng_duration); // itself is copied. Data members (the memory regions referenced) *may* be // copied as well, depending on the operation. This operation is guaranteed // to succeed if n <= 4, otherwise it may fail due to NNG_ENOMEM. -NNG_DECL int nng_aio_set_iov(nng_aio *, int, nng_iov *); +NNG_DECL int nng_aio_set_iov(nng_aio *, unsigned, const nng_iov *); // Message API. NNG_DECL int nng_msg_alloc(nng_msg **, size_t); -- cgit v1.2.3-70-g09d2