aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/pair/pair.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-07-02 15:58:45 -0700
committerGarrett D'Amore <garrett@damore.org>2017-07-02 15:58:45 -0700
commit9f5fa865f252f6d71f2d92181b17c038e2c28a8a (patch)
tree679158fe7ce63fed24994fabcb53f613e9c2de42 /src/protocol/pair/pair.c
parente4c65457c4ca9bf350af7da94733fabdc70acaca (diff)
downloadnng-9f5fa865f252f6d71f2d92181b17c038e2c28a8a.tar.gz
nng-9f5fa865f252f6d71f2d92181b17c038e2c28a8a.tar.bz2
nng-9f5fa865f252f6d71f2d92181b17c038e2c28a8a.zip
Remove the extra _aio_ part of pipe send and recv functions.
Diffstat (limited to 'src/protocol/pair/pair.c')
-rw-r--r--src/protocol/pair/pair.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/pair/pair.c b/src/protocol/pair/pair.c
index 67119f80..326e0c0e 100644
--- a/src/protocol/pair/pair.c
+++ b/src/protocol/pair/pair.c
@@ -150,7 +150,7 @@ nni_pair_pipe_start(void *arg)
// Schedule a getq on the upper, and a read from the pipe.
// Each of these also sets up another hold on the pipe itself.
nni_msgq_aio_get(psock->uwq, &ppipe->aio_getq);
- nni_pipe_aio_recv(ppipe->npipe, &ppipe->aio_recv);
+ nni_pipe_recv(ppipe->npipe, &ppipe->aio_recv);
return (0);
}
@@ -203,7 +203,7 @@ nni_pair_putq_cb(void *arg)
nni_pipe_stop(ppipe->npipe);
return;
}
- nni_pipe_aio_recv(ppipe->npipe, &ppipe->aio_recv);
+ nni_pipe_recv(ppipe->npipe, &ppipe->aio_recv);
}
@@ -221,7 +221,7 @@ nni_pair_getq_cb(void *arg)
ppipe->aio_send.a_msg = ppipe->aio_getq.a_msg;
ppipe->aio_getq.a_msg = NULL;
- nni_pipe_aio_send(ppipe->npipe, &ppipe->aio_send);
+ nni_pipe_send(ppipe->npipe, &ppipe->aio_send);
}