aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/survey0
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/survey0')
-rw-r--r--src/protocol/survey0/respond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/survey0/respond.c b/src/protocol/survey0/respond.c
index 7583c4d8..993e3243 100644
--- a/src/protocol/survey0/respond.c
+++ b/src/protocol/survey0/respond.c
@@ -395,7 +395,7 @@ resp0_pipe_send_cb(void *arg)
nni_mtx_unlock(&s->mtx);
- nni_aio_finish_synch(aio, 0, len);
+ nni_aio_finish_sync(aio, 0, len);
}
static void
@@ -555,7 +555,7 @@ resp0_pipe_recv_cb(void *arg)
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));
return;
drop: