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

MAXMSGSIZE broke when I cleaned up this code - fixed

This commit is contained in:
Pieter Hintjens 2013-02-20 14:05:55 +01:00
parent e628421ed5
commit a85c9f45d1

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)