Commit 897023c3 authored by Ian Barber's avatar Ian Barber

Merge pull request #518 from hintjens/master

Fixed MAXMSGSIZE setsockopt, which I'd broken
parents ccf2b9b4 a85c9f45
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment