better naming of flags and variables to real functionality: nodrop

This commit is contained in:
kreuzberger
2014-08-08 19:45:41 +02:00
parent d9a3cc48d4
commit f042ea9e26
7 changed files with 15 additions and 15 deletions

View File

@@ -458,9 +458,9 @@ int zmq::options_t::setsockopt (int option_, const void *optval_,
return 0;
}
break;
case ZMQ_XPUB_WAIT:
case ZMQ_XPUB_NODROP:
{
pubWait = true;
pub_nodrop = true;
return 0;
}
break;
@@ -811,9 +811,9 @@ int zmq::options_t::getsockopt (int option_, void *optval_, size_t *optvallen_)
}
break;
case ZMQ_XPUB_WAIT:
case ZMQ_XPUB_NODROP:
if( is_int) {
*value = pubWait;
*value = pub_nodrop;
return 0;
}
break;