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

@@ -58,7 +58,7 @@ int zmq::sub_t::xsetsockopt (int option_, const void *optval_,
// Pass it further on in the stack.
int err = 0;
rc = xsub_t::xsend (&msg, 0);
rc = xsub_t::xsend (&msg);
if (rc != 0)
err = errno;
int rc2 = msg.close ();
@@ -68,7 +68,7 @@ int zmq::sub_t::xsetsockopt (int option_, const void *optval_,
return rc;
}
int zmq::sub_t::xsend (msg_t *, int)
int zmq::sub_t::xsend (msg_t *)
{
// Overload the XSUB's send.
errno = ENOTSUP;