summaryrefslogtreecommitdiff
path: root/src/protocol/reqrep/rep.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/rep.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/rep.c')
-rw-r--r--src/protocol/reqrep/rep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/reqrep/rep.c b/src/protocol/reqrep/rep.c
index 036904b1..7d887b55 100644
--- a/src/protocol/reqrep/rep.c
+++ b/src/protocol/reqrep/rep.c
@@ -193,7 +193,7 @@ nni_rep_pipe_start(void *arg)
}
nni_msgq_aio_get(rp->sendq, &rp->aio_getq);
- nni_pipe_aio_recv(rp->pipe, &rp->aio_recv);
+ nni_pipe_recv(rp->pipe, &rp->aio_recv);
return (0);
}
@@ -292,7 +292,7 @@ nni_rep_pipe_getq_cb(void *arg)
rp->aio_send.a_msg = rp->aio_getq.a_msg;
rp->aio_getq.a_msg = NULL;
- nni_pipe_aio_send(rp->pipe, &rp->aio_send);
+ nni_pipe_send(rp->pipe, &rp->aio_send);
}
@@ -389,7 +389,7 @@ nni_rep_pipe_putq_cb(void *arg)
return;
}
- nni_pipe_aio_recv(rp->pipe, &rp->aio_recv);
+ nni_pipe_recv(rp->pipe, &rp->aio_recv);
}