Commit a85c9f45 authored by Pieter Hintjens's avatar Pieter Hintjens

MAXMSGSIZE broke when I cleaned up this code - fixed

parent e628421e
......@@ -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