aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/inproc/inproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/inproc/inproc.c b/src/transport/inproc/inproc.c
index cb79d65a..23046933 100644
--- a/src/transport/inproc/inproc.c
+++ b/src/transport/inproc/inproc.c
@@ -142,7 +142,7 @@ nni_inproc_pipe_send(void *arg, nni_msg *msg)
// TODO: look at the message expiration and use that to set up
// the timeout. (And if it expired already, throw it away.)
- return (nni_msgqueue_put(pipe->wq, msg, -1));
+ return (nni_msgqueue_put(pipe->wq, msg));
}
@@ -151,7 +151,7 @@ nni_inproc_pipe_recv(void *arg, nni_msg **msgp)
{
nni_inproc_pipe *pipe = arg;
- return (nni_msgqueue_get(pipe->rq, msgp, -1));
+ return (nni_msgqueue_get(pipe->rq, msgp));
}