diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-02 15:58:45 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-02 15:58:45 -0700 |
| commit | 9f5fa865f252f6d71f2d92181b17c038e2c28a8a (patch) | |
| tree | 679158fe7ce63fed24994fabcb53f613e9c2de42 /src/protocol/pubsub/pub.c | |
| parent | e4c65457c4ca9bf350af7da94733fabdc70acaca (diff) | |
| download | nng-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/pubsub/pub.c')
| -rw-r--r-- | src/protocol/pubsub/pub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/pubsub/pub.c b/src/protocol/pubsub/pub.c index 2767f6b6..58d80d44 100644 --- a/src/protocol/pubsub/pub.c +++ b/src/protocol/pubsub/pub.c @@ -164,7 +164,7 @@ nni_pub_pipe_start(void *arg) nni_mtx_unlock(&pub->mtx); // Start the receiver and the queue reader. - nni_pipe_aio_recv(pp->pipe, &pp->aio_recv); + nni_pipe_recv(pp->pipe, &pp->aio_recv); nni_msgq_aio_get(pp->sendq, &pp->aio_getq); return (0); @@ -246,7 +246,7 @@ nni_pub_pipe_recv_cb(void *arg) nni_msg_free(pp->aio_recv.a_msg); pp->aio_recv.a_msg = NULL; - nni_pipe_aio_recv(pp->pipe, &pp->aio_recv); + nni_pipe_recv(pp->pipe, &pp->aio_recv); } @@ -263,7 +263,7 @@ nni_pub_pipe_getq_cb(void *arg) pp->aio_send.a_msg = pp->aio_getq.a_msg; pp->aio_getq.a_msg = NULL; - nni_pipe_aio_send(pp->pipe, &pp->aio_send); + nni_pipe_send(pp->pipe, &pp->aio_send); } |
