diff --git a/src/router.cpp b/src/router.cpp index d854ba54..6e578509 100644 --- a/src/router.cpp +++ b/src/router.cpp @@ -166,7 +166,7 @@ int zmq::router_t::xsend (msg_t *msg_) if (!current_out->check_write ()) { it->second.active = false; current_out = NULL; - unreach = true; + unreach = mandatory ? true: false; } } else