0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-31 01:43:02 +08:00

Merge pull request #518 from hintjens/master

Fixed MAXMSGSIZE setsockopt, which I'd broken
This commit is contained in:
Ian Barber 2013-02-20 11:44:22 -08:00
commit 897023c3c1

View File

@ -144,7 +144,7 @@ int zmq::options_t::setsockopt (int option_, const void *optval_,
case ZMQ_RECONNECT_IVL_MAX:
if (is_int && value >= 0)
reconnect_ivl_max = value;
else
else
valid = false;
break;
@ -160,6 +160,7 @@ int zmq::options_t::setsockopt (int option_, const void *optval_,
maxmsgsize = *((int64_t *) optval_);
else
valid = false;
break;
case ZMQ_MULTICAST_HOPS:
if (is_int && value > 0)