From 838c9eab97c9d954354db711faae8a1fa6c12d38 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 30 Dec 2023 19:35:24 -0800 Subject: fixes #1751 Support nng_aio_set_expire(). While here fixed a number of nits in comments. --- src/nng.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index 79259568..ce75d832 100644 --- a/src/nng.c +++ b/src/nng.c @@ -1919,6 +1919,12 @@ nng_aio_set_timeout(nng_aio *aio, nni_duration when) nni_aio_set_timeout(aio, when); } +void +nng_aio_set_expire(nng_aio *aio, nng_time when) +{ + nni_aio_set_expire(aio, when); +} + int nng_aio_set_iov(nng_aio *aio, unsigned niov, const nng_iov *iov) { -- cgit v1.2.3-70-g09d2