aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/reqrep/req.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/reqrep/req.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/reqrep/req.c')
-rw-r--r--src/protocol/reqrep/req.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocol/reqrep/req.c b/src/protocol/reqrep/req.c
index c2542e18..b951c9a0 100644
--- a/src/protocol/reqrep/req.c
+++ b/src/protocol/reqrep/req.c
@@ -205,7 +205,7 @@ nni_req_pipe_start(void *arg)
nni_msgq_aio_get(req->uwq, &rp->aio_getq);
- nni_pipe_aio_recv(rp->pipe, &rp->aio_recv);
+ nni_pipe_recv(rp->pipe, &rp->aio_recv);
return (0);
}
@@ -321,7 +321,7 @@ nni_req_getq_cb(void *arg)
rp->aio_getq.a_msg = NULL;
// Send the message, but use the raw mode aio.
- nni_pipe_aio_send(rp->pipe, &rp->aio_sendraw);
+ nni_pipe_send(rp->pipe, &rp->aio_sendraw);
}
@@ -391,7 +391,7 @@ nni_req_putq_cb(void *arg)
}
rp->aio_putq.a_msg = NULL;
- nni_pipe_aio_recv(rp->pipe, &rp->aio_recv);
+ nni_pipe_recv(rp->pipe, &rp->aio_recv);
}
@@ -498,7 +498,7 @@ nni_req_resend(nni_req_sock *req)
// Note that because we were ready rather than busy, we
// should not have any I/O oustanding and hence the aio
// object will be available for our use.
- nni_pipe_aio_send(rp->pipe, &rp->aio_sendcooked);
+ nni_pipe_send(rp->pipe, &rp->aio_sendcooked);
nni_timer_schedule(&req->timer, req->resend);
}
}