From 1ad7f88e0c58285c9e1cad9448d5a1fcfa7a07f1 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 26 Dec 2024 14:10:09 -0800 Subject: aio: nng_aio_defer replaced by nng_aio_start This represents an API change, and we remove the nng_aio_begin function as well, introducing the lightweight nng_aio_reset instead. --- src/testing/streams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testing') diff --git a/src/testing/streams.c b/src/testing/streams.c index 92d52f37..9f4b01bc 100644 --- a/src/testing/streams.c +++ b/src/testing/streams.c @@ -95,7 +95,7 @@ stream_xfr_alloc(nng_stream *s, void (*submit)(nng_stream *, nng_aio *), nng_aio_set_timeout(x->upper_aio, 30000); nng_aio_set_timeout(x->lower_aio, 5000); - nng_aio_begin(x->upper_aio); + (void) nng_aio_start(x->upper_aio, NULL, NULL); x->s = s; x->rem = size; -- cgit v1.2.3-70-g09d2