Don't pass flags to xrecv method

This commit is contained in:
Martin Hurton
2012-11-09 17:17:43 +01:00
parent 7865f96e97
commit 66dc4d8b54
20 changed files with 28 additions and 46 deletions

View File

@@ -145,11 +145,8 @@ bool zmq::xpub_t::xhas_out ()
return dist.has_out ();
}
int zmq::xpub_t::xrecv (msg_t *msg_, int flags_)
int zmq::xpub_t::xrecv (msg_t *msg_)
{
// flags_ is unused
(void)flags_;
// If there is at least one
if (pending.empty ()) {
errno = EAGAIN;