From af4c08675825fbf28f64b6ea4af6a1b9f0576f23 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 9 Nov 2020 23:20:38 -0800 Subject: Minor spelling tweaks for the aio framework. --- src/protocol/reqrep0/req.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocol/reqrep0/req.c') diff --git a/src/protocol/reqrep0/req.c b/src/protocol/reqrep0/req.c index cd7132c9..fc12cb89 100644 --- a/src/protocol/reqrep0/req.c +++ b/src/protocol/reqrep0/req.c @@ -290,7 +290,7 @@ req0_send_cb(void *arg) while ((aio = nni_list_first(&sent_list)) != NULL) { nni_list_remove(&sent_list, aio); - nni_aio_finish_synch(aio, 0, 0); + nni_aio_finish_sync(aio, 0, 0); } } @@ -351,7 +351,7 @@ req0_recv_cb(void *arg) ctx->recv_aio = NULL; nni_mtx_unlock(&s->mtx); nni_aio_set_msg(aio, msg); - nni_aio_finish_synch(aio, 0, nni_msg_len(msg)); + nni_aio_finish_sync(aio, 0, nni_msg_len(msg)); } else { // No AIO, so stash msg. Receive will pick it up later. ctx->rep_msg = msg; -- cgit v1.2.3-70-g09d2