Don't pass flags to xsend method

This commit is contained in:
Martin Hurton
2012-11-09 17:08:03 +01:00
parent 793895c477
commit 7865f96e97
24 changed files with 43 additions and 52 deletions

View File

@@ -115,7 +115,7 @@ void zmq::xpub_t::mark_as_matching (pipe_t *pipe_, void *arg_)
self->dist.match (pipe_);
}
int zmq::xpub_t::xsend (msg_t *msg_, int flags_)
int zmq::xpub_t::xsend (msg_t *msg_)
{
bool msg_more = msg_->flags () & msg_t::more ? true : false;
@@ -126,7 +126,7 @@ int zmq::xpub_t::xsend (msg_t *msg_, int flags_)
// Send the message to all the pipes that were marked as matching
// in the previous step.
int rc = dist.send_to_matching (msg_, flags_);
int rc = dist.send_to_matching (msg_);
if (rc != 0)
return rc;