mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +01:00
Don't pass flags to xrecv method
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user