fq: remove unused parameter

The recv function accepted flags parameter but this was unused.
This commit is contained in:
Martin Hurton
2012-04-26 13:16:51 +02:00
parent 648e31994d
commit 2cbf7993dc
6 changed files with 13 additions and 13 deletions

View File

@@ -212,7 +212,7 @@ int zmq::router_t::xrecv (msg_t *msg_, int flags_)
}
pipe_t *pipe = NULL;
int rc = fq.recvpipe (msg_, flags_, &pipe);
int rc = fq.recvpipe (msg_, &pipe);
if (rc != 0) {
errno = EAGAIN;
return -1;
@@ -268,7 +268,7 @@ bool zmq::router_t::xhas_in ()
// Try to read the next message.
// The message, if read, is kept in the pre-fetch buffer.
pipe_t *pipe = NULL;
int rc = fq.recvpipe (&prefetched_msg, ZMQ_DONTWAIT, &pipe);
int rc = fq.recvpipe (&prefetched_msg, &pipe);
if (rc != 0)
return false;